OLD permalink still displaying content? (4 posts)

  1. stev1972
    Posted 7 years ago #

    Recently I changed the name of some of my categories including slug. From photography (slug photography) to wedding photography (slug wedding-photography).

    While the new URL with category wedding-photography works fine I noticed that the old URL with category photography is still working and displays the same content instead of leading to a 404 error page as there is no longer a category name photography including slug?

    How is this possible? Can someone tell me how I can make that old URL leading to 404. Don't want same content in 2 posts.

  2. educationthemes
    Posted 7 years ago #

    Clear the cache on your browser as it may be caching the page.

  3. stev1972
    Posted 7 years ago #

    I did this already several times but I'm still getting the same content on the 2 URLs.

  4. peter-a
    Posted 6 years ago #

    This is happening on my site, too. I'm using WP 2.7, and I can confirm it's not a browser cache problem, because I'm seeing this on other browsers as well.

    I renamed /category1/ to /category2/

    Links like http://mydomain.com/category1/post-name-here.html still work, even though they should give a 404 error.

    http://mydomain.com/category2/post-name-here.html also works.

    Is this a bug?

Topic Closed

This topic has been closed to new replies.

About this Topic