Forum Moderators: phranque

Message Too Old, No Replies

How to redirect every url of old site to new site?

         

phprockz

2:09 pm on Jul 13, 2006 (gmt 0)

10+ Year Member



Hi,
Iam having two domains example.com and example.net . Till now i had my site in example.net. now iam planning to shift my domain to example.com.My site is dynamic and google crawled well nearly 4000 urls crawled by google and some other search engines.Now iam looking for a way to shift my old urls to new urls.
My old url is like www.example.net/folder/Audiosong.php?movie=love and my new url is www.example.com/folder/AudioSongs/movie/love/.I came to know its possible to do with .htacess.Can any one please suggest how it can be dont with .htaccess

[edited by: jatar_k at 3:46 am (utc) on July 17, 2006]
[edit reason]
[1][edit reason] examplified [/edit]
[/edit][/1]

jdMorgan

7:16 pm on Jul 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



For the dynamic-to-static URL change, see this library thread [webmasterworld.com]. The rest is just a simple domain redirection, well-illustrated in the mod_rewrite and mod_alias documentation.

Jim

[edited by: jdMorgan at 7:17 pm (utc) on July 13, 2006]

phprockz

9:22 pm on Jul 13, 2006 (gmt 0)

10+ Year Member



hi,
thanks for reply.I already done static urls from dynamic urls.I just need to know how to to transfer user from old url to new url.

Supose user search for love in google and found my url as

www.example.net/folder/Audiosong.php?movie=love (old url in google).I like to transfer him to my new url.my new url format is like www.example.com/folder/AudioSongs/movie/love/

this is what iam looking for :)

[edited by: jatar_k at 3:47 am (utc) on July 17, 2006]

phprockz

4:21 am on Jul 15, 2006 (gmt 0)

10+ Year Member



any solutions?