user1188320
user1188320

Reputation: 575

Wordpress of the post url redirect?

I have set the Permalinks to custom /%postname%/ . eg: a post id is 2, its url is

 `mysite.com/test.` 

i want to when the user access mysite.com/?p=2 it redirect to mysite.com/test

how do i do? or is there a pludgin to get that thank u.

Upvotes: 0

Views: 160

Answers (2)

soju
soju

Reputation: 25322

You don't need any plugin for that since it is the default behavior, except if you are using a very old version of worpdress.

Upvotes: 1

ariefbayu
ariefbayu

Reputation: 21979

a little bit of googling:

http://yoast.com/wordpress/permalink-redirect/

Quote from the page:

That way, a URL like this:

http://www.example.com/page1/?q=ek

Will be automatically redirected to:

http://www.example.com/page1/

Upvotes: 0

Related Questions