.htaccess redirect question

Posted by user473056 on Pro Webmasters See other posts from Pro Webmasters or by user473056
Published on 2011-02-10T19:17:11Z Indexed on 2011/02/10 23:34 UTC
Read the original article Hit count: 146

Filed under:

Hi,

I'm trying to set up my .htaccess file to take the displayed link and route it to the destination link as below

Displayed Link http://www.my-website.com/click-4559226-10388358?url=https%3A%2F%2Fdestination-website2.com%2FItem.php%3Fid%3D44350396%26sld%3DA6D7A632-821E-4b78-ACD0-147658B77BD6

Destination Link http://www.destination-website.com/click-4559226-10388358?url=https%3A%2F%2Fdestination-website2.com%2FItem.php%3Fid%3D44350396%26sld%3DA6D7A632-821E-4b78-ACD0-147658B77BD6

Effectively, all that changes is the first url (http://www.my-website.com) everything after that is the same.

Is this possible and could someone briefly explain how I would go about it?

* Just to be clear, I dont want to redirect everything from my-webiste.com. Just links that start http://www.my-website.com/click-4559226-10388358

© Pro Webmasters or respective owner

Related posts about .htaccess