cancel
Showing results for 
Search instead for 
Did you mean: 

How do you add a redirect link from a product to another website?

How do you add a redirect link from a product to another website?

How do you add a redirect link from a product to another website? 

 

I want to be able to click on a product and instead of bringing me to that products page I want it to bring me to another website.

5 REPLIES 5

Re: How do you add a redirect link from a product to another website?

You wouldn't use the Magento URL management for this. You would put this in your htaccess file

 

RewriteRule ^category/product.html$ http://www.otherdomain.com/product.html [R=301]

Make sure to put it under

RewriteEngine On

 

-Kris
4x Certified, Blogger @ xgento.com

Re: How do you add a redirect link from a product to another website?

I think you want to look into URL Rewrite Management under Catalog menu item. There you can create custom redirects without having to deal with code or web server configurations.

Tanel Raja

Re: How do you add a redirect link from a product to another website?

I only want it for one product. How do I code it to have one product redirect to another website and the others stay how they are?

Re: How do you add a redirect link from a product to another website?

You can easily do this on a URL basis via your .htaccess file. See the instructions by kab8609 above.

Was my answer helpful? You can accept it as a solution.
230+ professional extensions for M1 & M2 with free lifetime updates!

Re: How do you add a redirect link from a product to another website?

We need to edit htaccess file on Magento Route. We need to put following code for redirecting the product URL to another Website.

 

 RewriteEngine On

 Redirect 301    /category/product.html/    http://www.demo.com/