Support » Fixing WordPress » Change Permalinks without changing existing posts url's?

  • Hi,

    I am struggling with this problem. I wish to change the permalink structure on my blog, or even have the ability to change the permalinks of individual posts, as I post them, without changing past post url’s.

    The problem is that when I first set up the blog, it was recommended that I use the permalink structure ‘postid’. Therefore, when I change the post slug, the url is not affected.

    If I simply change the permalinks I have to change the url’s of all my posts.

    Can anyone recommend a way to do this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • What version of WP are you using?

    For sure in WP3, but i think since 2.7 there is an option in the edit post under the title which allows you to customise permalinks manually.

    as far as i know if you change the structure (i.e. from the settings >permalinks) all of them are changed at once.

    i personally would do this offline: i.e. copy the wp_posts (or back it up), change the permalink option to what you want and then overwrite the old posts GUID to keep the old posts with the old links, but there might be someone else out there with a simpler solution.

    there are also a couple of plugins which create a permanent redirect using htaccess, but you might not be able to do this depending on where you host your blog. (see for one example)
    some hosts don’t allow editing htaccess files in subfolders.

    hope this helps

    Hi guys, thanks for the replies.

    My blog’s have no edit post button!

    I believe there is only an edit url button when you have ‘postname’ as part of the permalink structure.

    Also I went into the database via phpmyadmin and changed the GUID, for a new post keeping the present permalinks setting.

    However, this did not change the url. I still ended up with mypost/postid.

    How exactly are you supposed to overide a url?


    So, what version of wordpress are you using? i’m just not convinced about what you have been doing…

    the htaccess method is what you need to ‘override’ the url as basically you create a rule which is re-writing it. look at the doc suggested above and you can also google the topic for more info

    Hey guys,

    I think one of the potential solution is installing the “Advanced Permalinks” plugin which allows you to select a time period with different permalink structures.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change Permalinks without changing existing posts url's?’ is closed to new replies.