Support » Fixing WordPress » Cannot access Post when it matches Category name???

  • Hi,

    I’ve never seen this before, it’s weird, can someone please help???

    I have permalinks set to: /%postname%/, I cannot choose that, but I just select the ‘Post Name’ option in Settings Permalinks.

    I had some previous HTML pages on the website, one in particular had the same name, but with .html on the end, as the post I was trying to create.

    Now, the problem. I created a post that had the same name as a category that was already setup, so it was like this:

    I had a category: /MY-POSTNAME/ already in place.

    When I saved the Post, I could not go to that page, the page does not load and over and over I get a message in firefox about redirection and cookies. So, I renamed the Category to: /MYPOSTNAME/ (without the dash). That should be fine right?

    Still, the post would not load. Getting over and over again, the error about redirection/cookies in Firefox, in IE get nothing but loading spinning, and then nothing… finally at some point in Firefox getting 404 error.

    So, back to the post, renamed it with a ‘2’ on the end, Pressed Ctrl-F5, the Post would load, so back to the post, changed it back to: without the 2, so now it would be: /MY-POSTNAME/ and it did load fine.

    So, thought problem solved. WRONG. Edited a few more times, changed things. Then back to view the page, same thing: redirection/cookies error in Firefox, over and over again.

    So, back to change post name to: /MY-POSTNAME2/ (note the ‘2’ on the end), it worked, so finally decide to change it to: /MY-POSTNAME1/.
    It works, and loads.

    Now the HUGE PROBLEM. WHY is it that I cannot change the postname to: /MY-POSTNAME/ and load that page in my browser?

    WHY does WordPress keep failing to load that Post? Over and over again, remember the category is now name /MYPOSTNAME (without the ‘-‘).

    WHAT can I do to change the post name back to the original name that the category had: /MY-POSTNAME/? Is there some .htaccess things I can change (file below)?

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    That’s a standard htaccess.

    Oh, and YES, I have tried deleted the old Posts and adding new Posts, and also viewing those OLD posts in the Trash that I had deleted, and then Deleted Permanently.

    Nothing seems to have any effect???

    IS this a WordPress bug?


  • The topic ‘Cannot access Post when it matches Category name???’ is closed to new replies.