Forum Moderators: phranque

Message Too Old, No Replies

301 redirect help

.htaccess file help

         

mann

4:21 pm on Jun 19, 2012 (gmt 0)

10+ Year Member



Hello Friends,

I have old domain but NOT revealing site theme & nature of site contents.

I change domain name so any one can get idea of what kind of site & content on site will be.

I keep the same host & all files intact (no redesign & no change in file name or text)

I want that any one who type olddomain.com &/or any file form olddomain.com/oldfile.shtml will be redirect to newdomain.com &/or newdomain.com/oldfile.shtml

Can any one please suggest me how to write 301 redirect code under .htaccess file?

Hope I didn't mess with questions.

Thanks

g1smd

7:17 pm on Jun 19, 2012 (gmt 0)

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



I posted that code yesterday, and two other people since then have asked for it.

Check recent threads for that RewriteRule code.

mann

5:48 am on Jun 20, 2012 (gmt 0)

10+ Year Member



got it!

Thanks for your reply g1smd :)