Quantcast
Channel: Topic Tag: xml | WordPress.org
Viewing all articles
Browse latest Browse all 3201

kmcminn on "[Plugin: Google XML Sitemaps] Sitemap Exists At Both www And non-www"

$
0
0

Hello,

I've recently changed my WordPress URL and Site URL from http://www.nintendonews.com --> http://nintendonews.com

What's weird is that I still seem to have a sitemap located at each one of the URLs. The www sitemap URL has the sitemap, without the XLS stylesheet. The non-www URL sitemap uses the XSL stylesheet as intended.

You can see them both here:
http://www.nintendonews.com/sitemap.xml
http://nintendonews.com/sitemap.xml

Ultimately, I want the non-www URL to use the sitemap, since that's my new address. I've tried adding the following to the .htaccess, but it doesn't redirect.

RewriteCond %{HTTP_HOST} ^www\.nintendonews\.com$
RewriteRule ^sitemap\.xml$ "http\:\/\/nintendonews\.com\/sitemap\.xml" [R=301,L]

Any help is greatly appreciated.

https://wordpress.org/plugins/google-sitemap-generator/


Viewing all articles
Browse latest Browse all 3201

Trending Articles