Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine On
- RewriteBase /
- <Files .*>
- Order Deny,Allow
- Deny From All
- </Files>
- #Protect application and system files from being viewed
- RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]
- #Allow any files or directories that exist to be displayed directly
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{QUERY_STRING} ^((page=([0-9]+)&)?category=([0-9]+))?$
- RewriteRule ^catalog\.php$ catalog/%4/%3? [R=301,L]
- RewriteRule ^dostavka\.html$ dostavka [R=301,L]
- RewriteRule ^contacts\.html$ contacts [R=301,L]
- RewriteRule ^about\.html$ about [R=301,L]
- #Rewrite all other URLs to index.php/URL
- RewriteRule .* index.php/$0 [PT]
Add Comment
Please, Sign In to add comment