Skip to content

Instantly share code, notes, and snippets.



Created May 23, 2013
What would you like to do?
Url's amigables
Options +FollowSymLinks
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteRule ^(system|ax|s) - [L]
RewriteCond %{HTTP_HOST} !^www\.midominio\.com [NC]
RewriteRule ^(.*)$$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-s
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([A-Za-z0-9_.]+)?$ /perfil.php?nick=$1 [L]
RewriteRule ^([A-Za-z0-9_.]+)/$ /perfil.php?nick=$1 [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.