Morning all,
have had a problem were there were no rewrite rules in the .htaccess file which prevented the url to the sitemap working xyz.com/sitemap.xml.
Theis was new install of the latest version of WP, single install and the .htaccess was like this after the infinite was installed and activated
# Switch rewrite engine off in case this was installed under HostPay.
RewriteEngine Off
SetEnv DEFAULT_PHP_VERSION 53
DirectoryIndex index.cgi index.php
# BEGIN WordPress
# END WordPress
So I copied the .htaccess from another on my blogs that also runs infite and put that up instead:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
No more sitemap.xml 404
But I guess my questions is “should infinite be writing the .htaccess file when its installed and activared”, oh by the way am using infinate verison 1.3.7
Cheers
Dave