Quote:
|
The problem is that he has a sub domain on the first domain and every call to that second domain went to the newdomain.com
|
As it would! .htaccess affects the physical folder architecture of the website NOT the virtual structure.
So a .htaccess file in the root folder (public_html ) also applies the directives to all subfolders, and the default configuration for cPanel or Plesk creates subdomains as subfolders of public_html
Two possible solutions;
Remove and recreate the subdomain in a folder in the user folder so it is at the same level as public_html.
Make the redirect conditional to exclude requests for the subdomain.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
|