Viewing 10 replies - 1 through 10 (of 10 total)
  • Is this page created for a plugin? If so you may need to let the plugin know the URL of the new page.

    Thread Starter Micah Cooksey

    (@micahcooksey)

    Sort of, it’s a custom page template that is part of the Copyblogger theme from Chris Pearson. I looked at the source, but couldn’t see anything that would indicate a specific url.
    I also thought it was interesting that it did not use my custom 404 page template and used the default error page from my web host. If you go to https://captainpenguin.com/free-candy, or any other faulty url for that matter, you get the 404 page built into the theme.

    1) take a look at your .htaccess file and see if there’s any reference to sitemap

    2) I assume there is a WP page using sitemap.php as a custom page template? make sure that WP page is still showing that Sitemap is the custom page template being used

    Thread Starter Micah Cooksey

    (@micahcooksey)

    No, the only thing in my .htaccess file is the stuff for Wp-SuperCache. And yes, there is a page called “Sitemap”, and the template is set to “Sitemap”, and as I said before, it worked until I changed the slug.

    i don’t have any more suggestions from my own experiences, sorry.

    Have you cleared out supercache? Does it have a copy of the page cached with the old URL?

    SOMETHING is overriding the term “sitemap” which is why you are getting the Apache 404 and not the WP 404. That is your clue. You have to think through what you have done, how you have things set up, and what would be affecting the term sitemap? Running a Google Sitemap plugin by any chance?

    Thread Starter Micah Cooksey

    (@micahcooksey)

    Yes, the xml sitemaps plugin. I will try clearing the cache and see if that helps.

    Thanks for all the help!

    Your sitemap link has to end with a file name. https://captainpenguin.com/sitemap.xml

    Thread Starter Micah Cooksey

    (@micahcooksey)

    That would be true of the link to my XML sitemap, but not the link to my XHTML sitemap. The link in the menu is to my XHTML sitemap, sorry I didn’t specify.

    What I was getting at earlier is if you are using the Google Sitemap plugin, its possible it is internally using the link to the permalink sitemap, even if you have no page of that name. Thus it could be that two sources are trying to use the same permalink. Try changing the permalink of your internal sitemap to something else and see if that clears the problem.

    Thread Starter Micah Cooksey

    (@micahcooksey)

    That is really strange. I changed the slug to site-map and it is all clear. You can see it at https://captainpenguin.com/site-map/

    Thanks stvwif and kemessinger

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘404 issues’ is closed to new replies.