Support » Fixing WordPress » Permalink structure no longer works!

  • sashen


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


    One reason I did this is so that I could use a “shortcut” URL and get to a post with (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

    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?

Viewing 15 replies - 31 through 45 (of 60 total)
  • Russell Jamieson


    The following is a temporary fix until WordPress fix this serious bug in their permalink handling:

    Add a couple of lines to your .htaccess file after the RewriteBase line

    RedirectMatch 301 ^/(\d+)/$$1
    RedirectMatch 301 ^/(\d+)$$1

    This matches URLs ending in /%%post_id or /%%post_id/ and redirects to the correct post



    Russel, I can’t use .hataccess file because I have IIS server. You know how to do it with web.config file?

    Also with this problem I stuck with wordpress and can’t continue with my website. I want to change permalinks from the default and moving it to the root so I can use for pages. But what I will do with my old permalinks? I have active blog with a lot of posts. This is a serious problem of wordpress.

    Danny, I do NOT have IIS so I cannot test this – but it will look a little like this….

        <rule name="Redirect1" stopProcessing="true">
          <match url="^/(\d+)$" ignoreCase="false" />
          <action type="Redirect" redirectType="Permanent" url="{R:1}" />
        <rule name="Redirect2" stopProcessing="true">
          <match url="^/(\d+)/$" ignoreCase="false" />
          <action type="Redirect" redirectType="Permanent" url="{R:1}" />


    Worked like a charm for me.

    Let’s see when WP actually fixes it.

    @russell Jamieson I tried it and unfortunately that didn’t fix it for me.

    Thank you Russel but I don’t think it’s possible to fix it via hatacces or web.config. If I change the permalinks from to ,Someone must fix this issue on wordpress files.

    Hi Danny, Yes let’s hope WP gets this fixed in the next release

    Someone need to report this problem to wordpress developers team

    Someone know what is the function who control this redirect? Maybe we can restore it from the old version and offer to the others in meantime

    Just wanted to say that I am having the same issue. The default permalink structure works, but the postname permalink structure does not work, this seems to happen to newly added sub- pages..

    RoxyJo, you have IIS server?

    Updated SQL, deactivated all plug-ins, then upgraded to wp3.4. Immediately following upgrade, all inbound links to posts are broken: “The page isn’t redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.”

    Very “plain vanilla” site, minimal plug-ins and only the customization options provided within the wp setup.

    Example of broken link:

    I’m only modestly proficient with wp’s internal code, so a solution that a lay-person can handle would be appreciated.

    Hi dannymoe34,
    no the server is a linux server (can they be iis, or is it only windows?)

    Try changing your permalinks to default, and then back again to custom.

    i found this ticket
    The permalinks was fixed on IIS for pervious versions of wordpress but why it’s not working now? in 3.4 it doesn’t work

Viewing 15 replies - 31 through 45 (of 60 total)
  • The topic ‘Permalink structure no longer works!’ is closed to new replies.