Today, I installed the Google XML Sitemaps plugin. I configured the plugin accordingly then directed my browser to http://taylorlovett.com/sitemap.xml to see my newly built sitemap. I was confronted with the very ugly error:
http://www.taylorlovett.com/wp-content/plugins/google-sitemap-generator/sitemap.xsl
After some searching on Google, I found others having the same issue but no definite solution. It seemed that directing my browser to http://www.taylorlovett.com/sitemap.xml worked fine but http://taylorlovett.com/sitemap.xml did not. I figured out the problem was that in my General Settings page my WordPress address (URL) was set to http://www.taylorlovett.com/sitemap.xml and my Site address (URL) was set to http://taylorlovett.com/sitemap.xml. After changing them both to the exact same URL, the problem was solved!
Hi, I have spent all day trying to fix this, tried numerous suggestions and couldn’t get any of them to work. Found this page didn’t really want to change the settings but tried it anyway and your solution fixed it. So thanks.