.htaccess redirect to subfolder in different domain, maintaining old domain in the URL
Posted
by
Naoise Golden
on Pro Webmasters
See other posts from Pro Webmasters
or by Naoise Golden
Published on 2012-01-02T12:27:59Z
Indexed on
2012/04/04
23:45 UTC
Read the original article
Hit count: 229
Redirect has been widely discussed and most problems solved, so I am sorry for opening yet another post about this, but none of the codes I am trying work.
I have a WordPress site hosted in http://mydomain.com/clientsdomain.com/wordpress
I would like to temporarily redirect http://clientsdomain.com/
to the abovementioned URL, maintaining the clientsdomain.com domain in the URL.
So for example http://clientsdomain.com/some/page
would be pointing to http://mydomain.com/clientsdomain.com/wordpress/some/page
Is this even possible with .htaccess? Maybe som configuration or plugin option with WordPress?
© Pro Webmasters or respective owner