• Hi guys!

    I have a WordPress website with a blog. (WordPress 3.9.1, theme: Salient, link to blog: https://creativfriskvard.se/traningsbloggen/ )

    The permalink structure of the blog is a bit of a mess right now, and I would like to try to sort it up a bit. The structure is currently https://creativfriskvard.se/%category%/%postname%/
    I would like to change this to https://creativfriskvard.se/traningsbloggen/%postname%/ (traningsbloggen is the name of the blog).

    I think this can be accomplished easily in WordPress by writing /traningsbloggen/%postname%/ in the options in “Permalinks” in the WordPress dashboard. But what I can’t figure out is how to redirect the old blog URL’s to the new ones so I don’t end up with tons of broken external links.

    I’ve tried a few plugins, but they didn’t do the trick (guess they din’t work well with my WordPress theme or with the latest WordPress version or something). I’ve read that you can make 301 redirects by adding some code to the .htaccess file. But how would the code I need to add in .htacess look? I’ve only managed to find examples of how to change to https://creativfriskvard.se/%postname%/ and not with the /traningsbloggen/ addition to the URL.

    Does anyone have any idea of how I wold go about to do this? I’m really out of ideas right now. Any help is much appreciated!

    / Ida

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘changing permalink structure without 404 errors?’ is closed to new replies.