richcleverley
MIS
Hi,
I have an addon domain on my hosting package (cpanel admin system). Using this, I also have some redirects (mainly htm redirect to php files).
When they redirect, it always seems to load the subdomain url that the addon domain is set up as. EG. a
RedirectMatch 301 (.*)\.htm$ $1.php
on the page redirects to example.maindomain.com/page.php instead of example.com/page.php (where example.com is the addon domain and maindomain.com is the main hosting domain).
Anyone got any ideas on how to stop this happening so the correct domain name is shown in the address bar of the browser?
Thanks,
Richard
I have an addon domain on my hosting package (cpanel admin system). Using this, I also have some redirects (mainly htm redirect to php files).
When they redirect, it always seems to load the subdomain url that the addon domain is set up as. EG. a
RedirectMatch 301 (.*)\.htm$ $1.php
on the page redirects to example.maindomain.com/page.php instead of example.com/page.php (where example.com is the addon domain and maindomain.com is the main hosting domain).
Anyone got any ideas on how to stop this happening so the correct domain name is shown in the address bar of the browser?
Thanks,
Richard