Simple URL rewrite, not redirect, with .htaccess
Posted
by
Ron
on Stack Overflow
See other posts from Stack Overflow
or by Ron
Published on 2010-12-26T07:20:20Z
Indexed on
2010/12/26
7:54 UTC
Read the original article
Hit count: 220
.htaccess
I'm pretty inexperienced with .htaccess so please bear with me.
I have a domain - "http://www.exampletest.com"
which redirects to a folder at a different domain where I have hosting i.e:
"http://www.differenturl.com/exampletest"
Is there an easy mod_rewrite rule where I could have anything at "http://www.differenturl.com/exampletest" show up as "http://www.exampletest.com?" An example would be:
"http://www.differenturl.com/exampletest/user.php" -> "http://www.exampletest.com/user.php"
Any assistance is greatly appreciated. I assume this easy so sorry to ask such a basic question.
Thanks
© Stack Overflow or respective owner