.htaccess doubts
Hello folks!
I have my .htaccess file like this:
Options +FollowSymLinks
RewriteEngine On
RewriteCond $1 !^(sitemap\.xml)$
RewriteRule . sitemap.php [L]
RewriteCond $0 !=images/favicon.ico
RewriteRule ^([^/]+/)*favicon\.ico$ /images/favicon.ico [L]
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|images|include)
RewriteRule . index.php
If I type, for example: http://www.watchmaker.com.br/sitemap.xml ...
This is ok. The browser will show my dynamic sitemap file (generated by sitemap.php)
But if I type: http://www.watchmaker.com.br/portfolio ...
Not ok. It will also display my sitemap file.
Basically, the rewrite rule to transform "sitemap.xml" into "sitemap.php" seems to be transforming any parameter you give! Do you guys knows how to fix it?
Thanks a lot!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks