I have a subdomain named: easylife.mydomain.com with a document root of /public_html/ezlife.
This was setup before me and it's quite odd how it was handled. Most people access this subdomain by going to http://mydomain.com/ezlife. And it works perfectly.
However, if someone goes to easylife.mydomain.com everything breaks since the site was designed (CSS, etc.) to support the domain structure mydomain.com/ezlife.
So my question is how can I redirect people who go to easylife.mydomain.com to mydomain.com/ezlife?
I cannot add a redirection in cpanel as it gives me a fatal error.
Is there some other way?
Thanks.
This was setup before me and it's quite odd how it was handled. Most people access this subdomain by going to http://mydomain.com/ezlife. And it works perfectly.
However, if someone goes to easylife.mydomain.com everything breaks since the site was designed (CSS, etc.) to support the domain structure mydomain.com/ezlife.
So my question is how can I redirect people who go to easylife.mydomain.com to mydomain.com/ezlife?
I cannot add a redirection in cpanel as it gives me a fatal error.
Is there some other way?
Thanks.