Hi everybody. I know......... another annoying ht question I have a .htaccess file that works perfectly with 2 redirects, but every other redirect i tried to add didnt work... Does anybody know:............... 1) if .htacces files update on an hourly basis or something. 2) can i have a htaccess file in my root folder and another one in a subfolder. 3) is there a limit of redirect i can have in a file 4) if the file is too big, it will slow down my site... right... Aaaaaaaaaaaaaand... Can anybody tell my what i can do do redirect following: All the files in: http://www.my_1st_domain.com/directory_1 to http://www.my_new_domain.com I wanna do that becasue i am afraid of getting double indexed in SE. And i also dont want people to link to my_first_domain.com Every file and request should be redirected automatically. ( no matter what follows after the sub domain ) Thanx if anybody can help me on this. By Mavi
No its immediate. The server will check the file for every request Yes. Its hierarchical, the one in subfolder overwrites the stuff in the root folder No, but you can easily create loops file1 -> file2 -> file1 ....... This can happen by accident if you have one in root and one in subfolder Yes. If you have 1000 instructions the server will have to parse and compute each of them for every hit. RewriteRule ^(.*)my_1st_domain\.com/directory_1(.*)$ $1my_new_domain.com$2 [R=301,L] Or similar. You always need to test