Hi,
One of our domains has a big problem. It has thousands of html pages and about 100 to 200 of them have either moved to the root directory or been renamed over the years.
We have learned that anyone accessing the old urls can be directed to the new urls either through .htaccess, mod_redirect or mod_rewrite. We had googled the whole day today and came away with the conclusion that .htaccess if not a good solution, and we should use either mod_redirect or mod_rewrite.
We would appreciate it very much if any kind soul here could offer:
1. your expert advice on whether mod_redirect or mod_rewrite is the best solution, and how we should implement it, and
2. sample code for mod_redirect or mod_rewrite, and where and how we should include them in our httpd.conf file. We are totally lost here.
Thank you in advance.
One of our domains has a big problem. It has thousands of html pages and about 100 to 200 of them have either moved to the root directory or been renamed over the years.
We have learned that anyone accessing the old urls can be directed to the new urls either through .htaccess, mod_redirect or mod_rewrite. We had googled the whole day today and came away with the conclusion that .htaccess if not a good solution, and we should use either mod_redirect or mod_rewrite.
We would appreciate it very much if any kind soul here could offer:
1. your expert advice on whether mod_redirect or mod_rewrite is the best solution, and how we should implement it, and
2. sample code for mod_redirect or mod_rewrite, and where and how we should include them in our httpd.conf file. We are totally lost here.
Thank you in advance.
