Forum Moderators: phranque

Message Too Old, No Replies

domain to new domain Redirect with .htaccess

htaccess, domain to domain

         

vineet28

5:21 pm on Aug 16, 2011 (gmt 0)

10+ Year Member



Hello all,
i wish to transfer my domain name on which i am hosting wordpress blog.

So i want to redirect all pages from old blog to new blog ( new domain )

Old blog format is like

www.oldblogurl.com/this-is-a-sample-post/
to
www.newblogurl.com/this-is-a-sample-post/

i just want people to land on new domain url and the same page when then try to access old page via google search or some other old links.

Thanks a million for the Help

Pankaj Arya

wilderness

5:28 pm on Aug 16, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This question (or something very, very similar to it) appears multiple times each week.

See this recent thread [webmasterworld.com]

g1smd

8:01 pm on Aug 16, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Make sure that both www and non-www on the old site cleanly redirect in a single step to the new URL.

You also need non-www on the new site to redirect to www on the new site.