We have just stumbled across a new Sitemap generator based on Xmap, called OSMap.
When we used Xmap we had a rewrite rule that would allow you to access the sitemap by adding /sitemap.xml to the end of the url and it displaying.
I have tried to re-create this with the new sitemap link provided by OSMap but the re-write condition doesn't seem to be working. I was wondering if someone knew the answer.
This would be placed in the section "Custom .htaccess rules at the bottom of the file"
Orignially, the condition was:
RewriteCond %{REQUEST_URI} ^/sitemap.xml
RewriteRule .* /index.php?option=com_xmap&view=xml&tmpl=component&id=1
I copied the new url and came up with this
RewriteCond %{REQUEST_URI} ^/sitemap.xml
RewriteRule .* /index.php?option=com_osmap&view=xml&tmpl=component&id=1
However, when I search www.mysite.com.au/sitemap.xml all I recieve is a 404 error
Any help would be appreciated, thanks
I neither despise nor fear...