Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- #SSL descomente as linhas abaixo para forçar HTTPS
- RewriteCond %{HTTPS} off
- RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
- RewriteCond %{HTTP_HOST} !^www.
- RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
- RewriteRule ^pg/([a-zA-Z0-9-_/]+)/?$ index.php?pg=$1 [L,QSA]
- RewriteRule ^vaga/([0-9]+)/([a-z0-9-]+)/?$ /vaga.php?id=$1&slug=$2 [L,QSA]
Add Comment
Please, Sign In to add comment