Forum Moderators: phranque

Message Too Old, No Replies

Redirecting subdomain to new domain

Please help

         

jcmiras

10:55 pm on Nov 3, 2005 (gmt 0)

10+ Year Member



I have an add on domain, domain2, on my regular hosting at domain1. At domain1, I made a sub directory, domain2.domain1.com. My addon domain, domain2, points to my subdomain. There is no problem when I am trying to access the website using the following URL, domain2.com or domain2.com/dir1/. However, whenever I enter the url, domain2.com/dir (without "/"), the url redirects to domain2.domain1.com/dir1/. How can I make it to work properly using .htaccess?

Thanks in advance.

jdMorgan

1:27 pm on Nov 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This search [google.com] should lead you to several examples of the solution.

Jim