Forums

Permalink Changes (9 posts)

  1. AD7863
    Member
    Posted 4 months ago #

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

    It's just better that way.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    If you are changing from the default to a custom structure, it will.

  3. AD7863
    Member
    Posted 4 months ago #

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

  4. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    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?

  5. AD7863
    Member
    Posted 4 months ago #

    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.

  6. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 4 months ago #

    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.

  7. AD7863
    Member
    Posted 4 months ago #

    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?

  8. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    Try posting a topic in the How-To forum.

  9. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 4 months ago #

    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.)

Reply

You must log in to post.

About this Topic