Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## File Security
- <FilesMatch "\.(htaccess)$">
- Order Allow,Deny
- Deny from all
- </FilesMatch>
- #### Apache directory listing rules ####
- DirectoryIndex index.php index.htm index.html
- IndexIgnore *
- #### Rewrite rules for SEO functionality ####
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_URI} !=/favicon.ico
- RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA]
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement