Repair Bad Credit - Secured Loans - Life Insurance - Credit Card - Debt Help

PDA

View Full Version : will .htaccess file work with subdomains?


jaiz
Jul 13th 2006, 6:16 pm
Hi I had a subdomain with 50webs, and I just got a domain name. I would like my subdomain to redirect to my new domain, but I don't think it will work with a subdomain. Would it be possible to do with .htaccess file?

ashiezai
Jul 13th 2006, 8:35 pm
i think .htaccess will work with subdomains.

suzigeek
Jul 13th 2006, 8:41 pm
Depending on your host (if they allow htaccess). If they do yes. htaccess can work from any directory I believe?

Anyway I have subdomains of main sites i.e. sales.qwerty.com and htaccess functions the same as a root domain...if that's what your asking.

jaiz
Jul 14th 2006, 2:24 am
well i just found out that 50 webs doesn't allow htaccess with free accounts. I also found out that I can't use a javascript code to redirect traffic to a domain that's not hosted by 50webs either as it it goes against their TOS. what a joke

suzigeek
Jul 14th 2006, 5:17 am
Can you do a meta refresh or redirect? It doesn't use javascript.

Here's a link to a resource for it:

http://www.seologic.com/faq/meta-refresh-tag.php