• I think WordPress should automatically redirect old URLs to new URLs when you change the permalink structure.

    It’s just better that way.

Viewing 8 replies - 1 through 8 (of 8 total)
  • If you are changing from the default to a custom structure, it will.

    Thread Starter AD7863

    (@ad7863)

    Yes but what about changing from one custom structure to another?

    No – it won’t. Not sure that’s even slated for a future version as it would involve keeping the old permalink structures in the database (rather like post revisions) and where do you draw the line there? 1 revision? 2 revisions? 5 revisions?

    Thread Starter AD7863

    (@ad7863)

    Well I dunno.

    But how long do you really need to do a 301 re-direct for before Google re-indexes the website anyway?

    I’m sure someone much smarter than myself can come up with a good solution.

    I want to change the permalink structure on my blog but the links keep breaking.

    I’ve tried a few plugins but they don’t work.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    It kind of depends what you’re switching from and to.

    I mean if you’re changing from domain.com/YYYY/MM/DD/POSTNAME to domain.com/YYYY/POSTNAME, you can use .htaccess redirects for it.

    Though I’ve noticed WP’s freaky smart about catching onto that anyway.

    Thread Starter AD7863

    (@ad7863)

    What if I wanted to change my permalink structure from YYYY/MM/DD/CATEGORY/POSTNAME to CATEGORY/POSTNAME-POSTIDHOUR?

    Can someone help me with this?

    Try posting a topic in the How-To forum.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    And look up .htaccess regexp 🙂

    (You probably can’t do it, though, since while you can turn YYYY/MM/DD/CATEGORY/POSTNAME into CATEGORY/POSTNAME, there’s no way for .htaccess to grock -POSTIDHOUR – Of course, you probably don’t need to. CATEGORY/POSTNAME itself should redirect to CATEGORY/POSTNAME-POSTIDHOUR anyway.)

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Permalink Changes’ is closed to new replies.