How to redirect a link to a new link?

I am about to change the slug for my page’s permalink. Since I dont want to loose the traffic, i would like to redirect the visitors to the new more SEo friendly link.

Can I achieve this with the mod_rewrite? (I use Apache on Ubuntu)

Read More

Or any other easier alternative? (I prefer not using any plugin if possible)

Many Thanks,

Related posts

Leave a Reply

2 comments

  1. Go with the easiest alternative of all: do nothing.

    No, really: WordPress itself handles redirects for renamed Post Titles.

    Edit

    Apparently, the retention of _wp_old_slug only happens for non-hierarchical objects.

    So, since Pages are hierarchical, they don’t get to enjoy the auto-magic slug redirection.

    Therefore, for static Pages or other hierarchical post objects, I would recommend using a 301 Redirect Plugin. There are several to choose from.

  2. I’ve changed permalinks on sites before and I was scared it was going to ruin things, but as Chip stated, doing nothing worked. WordPress took care of it for me. No action taken on my part and all the links worked just fine.

    Mark Jaquith created a plugin to help with this, but on the plugin page he explains that the plugin isn’t needed beyond WP 2.1 because the functionality is part of the core now. (http://wordpress.org/extend/plugins/redirect-old-slugs/)