How to redirect wordpress post links that are using post_id to new url struture of postname

Posted by Matthew on Stack Overflow See other posts from Stack Overflow or by Matthew
Published on 2010-04-13T22:04:30Z Indexed on 2010/04/13 22:33 UTC
Read the original article Hit count: 633

Filed under:
|

Hey guys,

I have a slight problem... we made a change to our url structure the other day and have broken links all over.

What I did was change links from:

http://blog.mydomain.com/articles/123

To:

http://blog.mydomain.com/articles/this-is-a-smaple

Is there anyway to direct any links linking to the pages ID number to the postname????

The old url structure is still being published throughout our RSS feed on facebook. So I am trying to catch those people that are or maybe clicking on our links on our facebook posts and redirect them to that posts postname url? Does that make sense?

Thanks and help would do

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about redirect