taverny
asked on
Understand how htaccess works
I need to understand how to manipulate the htaccess file for a website.
Hi experts,
we are currently hosting a site at one location for quite some time. we redesigned our site and going to a different hosting company. I know the htaccess file is a key element to keep are rating for SEO.
my questions are the following:
1- is the htaccess file created has a limitation in size?
2-is the htaccess file needs to reside on the old hosting company or the new one?
3- I also have quite a few domain name pointing to my old hosting company , how do I handle the htaccess file for each one of those domain?
I am sorry I have tried to educate myself on how Htaccess file works but I didn't find a good site that explains how this whole htaccess file works.
any help will appreciate.
Thanks
David
Hi experts,
we are currently hosting a site at one location for quite some time. we redesigned our site and going to a different hosting company. I know the htaccess file is a key element to keep are rating for SEO.
my questions are the following:
1- is the htaccess file created has a limitation in size?
2-is the htaccess file needs to reside on the old hosting company or the new one?
3- I also have quite a few domain name pointing to my old hosting company , how do I handle the htaccess file for each one of those domain?
I am sorry I have tried to educate myself on how Htaccess file works but I didn't find a good site that explains how this whole htaccess file works.
any help will appreciate.
Thanks
David
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
3- I also have quite a few domain name pointing to my old hosting company , how do I handle the htaccess file for each one of those domain?That is a DNS (nameserver) problem, not an .htaccess problem.
ASKER
what about #2?
As I said above...
The rules in .htaccess apply only to the current directory tree so it only applies to the site that it is in. It has no effect on any other site or remote site.
The rules in .htaccess apply only to the current directory tree so it only applies to the site that it is in. It has no effect on any other site or remote site.
ASKER
for those who are looking for the same information as I had:
1- the file limitation is recommended to be less than 20MB
2- the htaccess file needs to be on the hosting company that you will be pointing your domain name to (the new hosting)
3- the htaccess file will be red for every domain pointing to the new hosting company.
1- the file limitation is recommended to be less than 20MB
2- the htaccess file needs to be on the hosting company that you will be pointing your domain name to (the new hosting)
3- the htaccess file will be red for every domain pointing to the new hosting company.
ASKER
Thanks
David