| Redirecting Root and Files to Different Locations [message #1938] |
Tue, 20 July 2010 22:03 |
tempuser123 Messages: 1 Registered: July 2010 |
|
|
|
Greetings,
I'm kinda new to .htaccess and I searched a lot but couldnt understand how to work this out.
What I basically need is this:
I want www.olddomainname.com and olddomainname.com to redirecto to www.newdomainname.com (this is kinda easy on its own ... the next step is the kicker)
I want www.olddomainname.com/anyfileorfolder and olddomainname.com/anything to redirect to : www.newdomainname.com/newsubfolder/anything
Notice that if no file/folder is given, I want the redirect to be to a different path than if a file/folder is given
Is this doable?
Thank you for your help
|
|
|