Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)/$ /$1 [L,R=301]
- RewriteCond %{REQUEST_URI} !(\.css|\.js|\.png|\.jpg|\.svg|\.gif|robots\.txt)$ [OR,NC]
- RewriteCond %{REQUEST_URI} ^/verImagen [NC]
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^ index.php [L]
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_URI} !^/public/
- RewriteRule ^(css|js|images|img|fonts|ckeditor)/(.*)$ public/$1/$2 [L,NC]
- </IfModule>
- # Rename server.php to index.php, remove .htaccess from public folder.
Add Comment
Please, Sign In to add comment