Hi, I want to redirect http://domain.com/sub1 and http://www.domain.com/sub1 to http://sub1.domain.com. I have tried to search the mod_rewrite rule but did not get exact rule. Can someone help me to redirect above using mod_rewrite rules? Thanks, Kailash
How about But im not sure if it works for remote domains. Haven't tried. Mod rewrite will make one page look as if was another page. Example: http://domain.com/link.html will actually be link.php on the server. Dont know if this helps.
Yeah, you can use redirect. I believe you can not rewrite it to subdomain, unless if it was in some subfolder.