.htaccess help
- Started
- Last post
- 2 Responses
- trooperbill
I have this htaccess file but its stopping me from submitting a sitemap.xml file to Google as it returns a 404. Do you have any idea how i change it so that xml files in the root are seen?
---
SetEnv DEFAULT_PHP_VERSION 5
RewriteEngine OnRewriteCond %{HTTP_HOST} residencesix\.co\.uk
RewriteRule (.*) http://www.residencesix.com/$1 [R=301,L]RewriteCond %{HTTP_HOST} ^residencesix\.com
RewriteRule (.*) http://www.residencesix.com/$1 [R=301,L]RewriteBase /
RewriteCond %{REQUEST_URI} !/(files|banners\.php|analytics...
RewriteRule .* index.php [L]ErrorDocument 404 /404.html
- trooperbill0
bump plz
- spraycanII0
Are you sure the problem comes from your htacces?
try commenting:
ErrorDocument 404 /404.html
RewriteCond %{REQUEST_URI} !/(files|banners\.php|analytics...So you can first isolate the problem.