Guest User

Untitled

a guest
Jun 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. RewriteEngine On
  2.  
  3. RewriteCond %{REQUEST_FILENAME} !-f
  4. RewriteCond %{REQUEST_FILENAME} !-d
  5.  
  6. #SSL descomente as linhas abaixo para forçar HTTPS
  7. RewriteCond %{HTTPS} off
  8. RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  9. RewriteCond %{HTTP_HOST} !^www.
  10. RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  11.  
  12. RewriteRule ^pg/([a-zA-Z0-9-_/]+)/?$ index.php?pg=$1 [L,QSA]
  13.  
  14. RewriteRule ^vaga/([0-9]+)/([a-z0-9-]+)/?$ /vaga.php?id=$1&slug=$2 [L,QSA]
Add Comment
Please, Sign In to add comment