- Code: Select all
RewriteRule ^section/([0-9]+)/([0-9]+)/?$ section?month=$1-$2 [QSA,L]
RewriteRule ^search/([^/]+)/?$ search?q=$1 [QSA,L]
These both have .html file extensions.
I have tried adding:
- Code: Select all
Options +FollowSymLinks -Multiviews
but am not having any luck. Can someone please suggest a fix?
The following comprises the default Txp .htaccess file:
- Code: Select all
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0