If you prefer
http:(//)mydomain(dot)com
your .htaccess must contain:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www(dot)mydomain\(dot)com [NC]
RewriteRule (.*) http:(//)mydomain(dot)com/$1 [R=301,L]
If you prefer http:(//)www(dot)mydomain(dot)com, your .htaccess must contain:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mydomain\(dot)com [NC]
RewriteRule (.*) http:(//)www(dot)mydomain(dot)com/$1 [R=301,L]
NOTE: (Replace (dot) by . and (//) by //)
I am experiencing the same problem.
The Sitemap works fine if I go to http://www.domain,commm/sitemap.xml, but fails if I go to domain.commm/sitemap.xml
Google Chrome fails silently.
IE 8.0.6001 fails with the following error:
Cannot view XML input using XSL style sheet.
Firefox (v 3.6.10) fails with the following error:
Error loading stylesheet: An unknown error has occurred (805303f4)
http://www.domain/wp-content/plugins/google-sitemap-generator/sitemap.xsl
@webjunk, you said “Fix the redirect” – can you be more specific?