Rewrite a single URL using ModRewrite, with domain pointers
My .htaccess
is at root level, and serves a number of hosted domains (I'm using domain pointers).
I want开发者_运维百科 to redirect a single URL on one of those domains:
http://www.pointerdomain.com/first.html
to http://www.pointerdomain.com/single.html
But I can't see any documentation on how to do that...
Your question seems vague, but would this work for you?
RewriteCond %{HTTP_HOST} www\.pointerdomain\.com
RewriteRule ^first.html$ /single.html
精彩评论