.htaccess change domain but keep path
问题 i don't even know whether this is possible or not. i've 3 domain names: mytest.com test88.com test99.com mytest.com is the main domain where all the content is located. in my case it is wordpress which is installed on that webspace. my htaccess looks like this: RewriteEngine On RewriteCond %{HTTP_HOST} ^(.*)test88.com [nc] RewriteRule ^(.*)$ http://%1mytest.com/wp/?page_id=10&test=test88 [R,L] RewriteCond %{HTTP_HOST} ^(.*)test99.com [nc] RewriteRule ^(.*)$ http://%1mytest.com/wp/?page_id=10