Mini Shell
Direktori : /home/emypro/www/ |
|
Current File : /home/emypro/www/.htaccess |
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} !micro-2
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^empresa/?$ empresa.php [NC,L]
RewriteRule ^historico/?$ historico.php [NC,L]
RewriteRule ^especialidade/?$ especialidade-estrutura.php [NC,L]
RewriteRule ^servicos/?$ servicos.php [NC,L]
RewriteRule ^identidade/?$ identidade-organizacional.php [NC,L]
RewriteRule ^organograma/?$ organograma.php [NC,L]
RewriteRule ^politica/?$ politica.php [NC,L]
RewriteRule ^tecnologia/?$ tecnologia.php [NC,L]
RewriteRule ^clientes/?$ clientes.php [NC,L]
RewriteRule ^noticias/?$ noticias.php [NC]
RewriteRule ^noticias/([0-9]+)/?$ noticias.php?page=$1 [NC,L]
RewriteRule ^noticia/([a-z0-9-]+)/([0-9]+)/?$ noticia.php?id=$2 [NC,L]
RewriteRule ^obras/?$ obras.php [NC]
RewriteRule ^obras/([0-9]+)/?$ obras.php?page=$1 [NC,L]
RewriteRule ^obra/([a-z0-9-]+)/([0-9]+)/?$ obra.php?id=$2 [NC,L]
RewriteRule ^contato/?$ contato.php [NC,L]
RewriteRule ^ouvidoria/?$ ouvidoria.php [NC,L]
RewriteRule ^responsabilidade-social/?$ responsabilidade-social.php [NC,L]
</IfModule>
RewriteCond %{HTTP_HOST} ^emyprobrasil.com.br$
RewriteRule ^/?$ "http\:\/\/www\.emyprobrasil\.com\.br\/" [R=301,L]
Zerion Mini Shell 1.0