404 Error When Creating Sitemap page and Google Sitemap Generator Plugin
-
I am in the process of integrating my entire site into WordPress, and I was going to utilize the google XML sitemap plugin. Everything worked fine and it generated the sitemap XML file:
https://wordpresstest.trevordavis.net/sitemap.xml
I am also intending to have an create a WordPress page that would be an HTML sitemap that would live at:
https://wordpresstest.trevordavis.net/sitemap/
I get a 404 error from my host, instead of the WordPress 404 error, which was confusing at first, so I figured there was some sort of redirect. I was right, since I was able to browse to the XML sitemap by going to:
https://wordpresstest.trevordavis.net/sitemap
I looked through my htaccess file and didn’t see anything, and I looked through the plugin code, and I didn’t see anything that immediately stood out to me. When I changed the HTML sitemap slug to be site-map, it worked. But I wanted sitemap to be one word. If worst comes to worst, I’ll just have the HTML sitemap to be two words.
Any suggestions? Anything would be great.
- The topic ‘404 Error When Creating Sitemap page and Google Sitemap Generator Plugin’ is closed to new replies.