WordPress.org

Ready to get started?Download WordPress

Forums

Permalink structure no longer works! (61 posts)

  1. sashen
    Member
    Posted 2 years ago #

    For the last 2.5 years, I've used the permalink structure:

    /%post_id%/%postname%/

    One reason I did this is so that I could use a "shortcut" URL and get to a post with

    http://www.domain.com/post_ID (without including the postname)

    Since updating to 3.4 (I haven't installed any other plug-ins), I now get a 404 if I go to domain.com/post_ID.

    I've tried "resetting" the permalink structure by changing it to default, and then back... but that made no difference.

    Suggestions? Clues? Or, better, a solution?

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Providing a site link (and a broken link) and including what theme (and if using a child theme) you are using will help troubleshot (perhaps)

  3. sashen
    Member
    Posted 2 years ago #

    Working: http://www.invisibleshoe.com/1417/how-to-think-like-a-shoe-company/

    No longer working: http://www.invisibleshoe.com/1417/

    The theme is WhiteBlue from AskGraphics.com

  4. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Check you site at Securi, there appear to be some odd links being output.

    I would:
    (backup site and DB just prior)
    A) deactivate all plugins,
    B) switch to default twenty eleven theme
    C) delete .htaccess file (backup first)
    D) Return to permalinks setting and save it again (this should create a clean .htaccess file with just WP rewrite rules)

    If after above, the links are working properly:

    1. Switch back to your theme and test.
    2. Activate plugins one at a time and test.
    This should point to a bad theme or plugin.

  5. sashen
    Member
    Posted 2 years ago #

    Sadly my site is getting way too much traffic (and this is our business) for me to turn everything off, even for an hour... so this isn't a practical solution for me.

  6. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Copy site to a test install

  7. mfshearer72
    Member
    Posted 2 years ago #

    I don't think you need to go through all of those steps right now b/c I think it's a problem with the current version of WP 3.4. There have been multiple reports of it and I've tested it on a brand new site w/ all plugins deactivated.

    However, if you've already gone through those steps, please advise if you resolved it. I'll do the same.

    Thanks!

  8. sashen
    Member
    Posted 2 years ago #

    I had a hunch it wasn't just me.

    First one to find a solution wins. (And post it here, PLEASE!)

  9. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    I do not believe that there are any reported issues with WP permalinks and 3.4 (except for bad old plugins and themes as I noted above)...

    @mfshearer72,

    Please support with a few links.

  10. mfshearer72
    Member
    Posted 2 years ago #

    WordPress 3.4 install
    No Active Plugins

    Sample URL: http://wordpresstipjar.com/19/bulk-post-creation-in-wordpress/

    URL with just post ID: http://wordpresstipjar.com/19/

    According to sashen, this should redirect to the original url but doesn't.

    (Note: I'm going to revert my permalink structure tomorrow AM (6/19) b/c I don't want to maintain this structure long term).

  11. sashen
    Member
    Posted 2 years ago #

    It's not that it "should" redirect... it's that with that permalink structure, it WAS redirecting until the recent upgrade.

    So the fact that it now doesn't is a BIG problem for me, since I used the post_ID version of the url as a shortcut for hundreds of pages in thousands of places.

    Ah, I guess that's another way of saying that "it should redirect" (that is, I WANT IT TO) ;-)

  12. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    There is a well known manner to 'troubleshoot' these issues (see my advice above)...it would have taken less time tonight than the time this thread has been up to create the site and troubleshoot it...

  13. dannymoe34
    Member
    Posted 2 years ago #

    I have the same problem! I'm sure now it problem on wordpress, the old version redirect all the old permalinks to the new ones

  14. manoj skynet
    Member
    Posted 2 years ago #

    i also have same problem, with my page navigation, before it was working fine like http://www.abc.com/emp/?page=2, but after updating wordpress to 3.4 now it is like http://www.abc.com/emp/2/, and my page navigation has stopped working

  15. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    @Dannymoe34, check your web.config file.

    manoj and others, are you also running on IIS7?

  16. manoj skynet
    Member
    Posted 2 years ago #

    i'm running on apache

  17. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    And you have checked .htaccess?

  18. manoj skynet
    Member
    Posted 2 years ago #

    yes, i have removed all the content from .htaccess file, and re-saved permalink settings (generating again .htaccess file) but no luck :(

  19. sashen
    Member
    Posted 2 years ago #

    Apache here.

    Swanson... I know that you know that a fresh install takes about a minute. And if a fresh install has the same problem that I reported, then your troubleshooting suggestions probably wouldn't have identified the problem (unless doing all of them had NO effect, at which point we could be pretty sure that it is, in fact, a 3.4 issue).

    Still hoping someone discovers a fix... but off to bed for me now.

  20. manoj skynet
    Member
    Posted 2 years ago #

    i thing it is wordpress 3.4 issue, because i have backup of my old site (in wordpress 3.3.2) so i have setup in my local xampp server, it was working fine like with url http://www.abc.com/emp/?page=2, but the moment i update wordpress from 3.3.2 to wordpress 3.4 in my local server it has stopped working, and giving url like http://www.abc.com/emp/2/

  21. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Yet, I am not experiencing this issue..with many sites, no issue..it's a theme or a plugin or a corrupt db.

  22. dannymoe34
    Member
    Posted 2 years ago #

    Swanson... It's not related to the web.config file. The new permalinks works fine. The wordpress itself not have any redirect from the old permalinks to the new ones

    It's need to redirect example.com/?p=123
    to example.com/new-post

    the redirect not work at all and the same links accessible or show 404 error. this is a huge problem on wordpress

  23. manoj skynet
    Member
    Posted 2 years ago #

    deactivated all plugins, switched to twentyten theme, but no luck

  24. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    I just updated the permalinks on this site to

    /%post_id%/%postname%/

    and I get the right URL's, but correct that using the url /%post_id%/ does throw a 404

    using WP3.4 and default 2011 theme....

    Also:

    /%postname%/%post_id%/

    Has same results....

    I have used /%postname%/ only on all my sites without issue.

    So now we have multiple folks noting this issue...including me...

  25. manoj skynet
    Member
    Posted 2 years ago #

    @swanson,

    can you answer just 1 question

    i have permalink structure like /%category%/%postname%/
    in 3.3.2 url was like http://www.abc.com/emp/?page=2

    so in 3.4 why it is being rewrite like http://www.abc.com/emp/2/

    do you have any idea about it?

  26. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    A redirect rule (a hacked host)...it's odd that you each have 'emp' there....I did not experience that in my test tonight, just that using either only part a or part b OF the permalink rule did not function and threw a 404...I am convinced this is an issue but stumped at why the 'emp' (unless you have that as a custom category or tag setting also).

  27. manoj skynet
    Member
    Posted 2 years ago #

    well emp is the name of my page, (emp is page, not post)

    what you suggest, to overcome this issue?

    i want url like http://www.abc.com/emp?page=2

    not like http://www.abc.com/emp/2/

  28. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    Manoj, please start you own topic rather than interrupting this one

  29. dannymoe34
    Member
    Posted 2 years ago #

    There is reason that this redirect function was removed from wordpress? seem that it's not exist on 3.4

  30. sashen
    Member
    Posted 2 years ago #

    Okay, so now that we've all pretty much agreed it's a 3.4 issue, the question is: Now what?

    I'm not a programmer, but there has GOT to be a place in the code that could be changed to fix this (assuming that WP won't do it on their own).

Topic Closed

This topic has been closed to new replies.

About this Topic