![]() |
|
|
| Subject:
.htaccess file for web servers between 2 domains
Category: Computers > Internet Asked by: applesofgold-ga List Price: $8.00 |
Posted:
02 Mar 2004 12:21 PST
Expires: 01 Apr 2004 12:21 PST Question ID: 312698 |
Hi. I have access to my .htaccess file but do not know how to use it. I have recently moved my website from one domain to another and rather than doing a simple URL forward, I would like to have all the URLs redirected to the other domain using the .htaccess file, in this specific fashion : Here are the 2 websites : website1.com and website2.com I have multiple links at website1.com that I need pointed to website2.com Here is an example of one of my URLS : http://website1.com/Merchant2/merchant.mv?Screen=CTGY&Store_Code=Nissi&Category_Code=CR I need to change 2 aspects of this URL to point to my new domain. (1) I need "website1.com" changed to "website2.com" (2) I also need everything that says ".mv" in the URL changed to ".mvc". So the above URL would read : http://website2.com/Merchant2/merchant.mvc?Screen=CTGY&Store_Code=Nissi&Category_Code=CR Everythig else in the URLs need to stay the same. As I have at least a thousand URLS at each site, I need some kind of formula or method that will allow me to do this in the .htaccess file on website1.com to redirect or point to website2.com with the changes. What is the best way to do this? what do I need to change the .htaccess file? and if this is not the best way to do this, what should I do? Thank you. | |
| |
|
|
| There is no answer at this time. |
|
| There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
| Search Google Answers for |
| Google Home - Answers FAQ - Terms of Service - Privacy Policy |