hopsterguy
Member
Posted 6 years ago #
Something is blocking me from calling my sitemap file. The sitemap file is within the wordpress directory and no matter how I try to open it from an http all I get a "not found error" generated by my wordpress software. I assume there must be some way to get wordpress to let this call take place?
http://blog.buggyinfo.com/sitemap.xml
Thank you for your help
Verify path and permissions (if it's in wordpress/ try blog.buggyinfo.com/wordpress/sitemap.xml)?
hopsterguy
Member
Posted 6 years ago #
I have blog.buggyinfo.com set to direct to the same directory that the wordpress folders are in.
another way to get to it is:
http://www.buggyinfo.com/BuggyInfoBuggyBlog/nfblog/sitemap.xml
Going to this url gives the same error, even though the file is truely there.
I've verified that the file is there. WordPress seems to have taken over that folder and I can't call any other file from it??? Call anything else in that folder and wordpress tells you file not found. Normally I would expect a general server error, but it is a wordpress message. How to get around wordpress having total control of this directory?
hopsterguy
Member
Posted 6 years ago #
Okay, I figured out a fix, but I don't know why this works at this point. I had to change the name of the file from sitemap.xml to sitemap.html
Voila... it works.
The wordpress root directory isn't allowing XML extensions to pass through for some reason.
Any ideas why this is?
-Steve
That's not WP, that's your http server.
The only file/path manipulations WP is anywhere near to is the .htaccess re-directs, and that has no effect on any file/dir that 'exists'.