Jump to content

Best way to link to another product from a product description (HTML editor)


Recommended Posts

Hi

 

When I write a product description, sometimes I want to directly link to a very closely related product from the product description. This can of course be done with a standard link from the HTML editor like this:

http://my_site/lang/category/product.html

 

However I wonder if there is a smarter way to do this? We have multiple languages so each product description will need its own custom link and if we even change the link format in the future, all these hardcoded links will break (we actually have this problem right now).

 

I would like some more rough like http://my_site/?product_id=nn

 

The product id will always be the same but maybe sometime we have to change the friendly url so I do not want these links to use the friendly url but as far as possible only the product id. Maybe category id and language are mandatory as well but I am looking for the most generic solution to link to another product using the product id (the links are created in the html editor for a product).

  • Like 1
Link to comment
Share on other sites

well, to be honest, i think that method that you use is easiest and best for seo purposes. And unfortunately is the only one method for what you expect.

 

What you think about module, where you can define "similar" products, then list of similar modules will be displayed, for example as an additional tab ?

Link to comment
Share on other sites

Hi Vekia and thanks for the reply.

 

I will try to do it this way then, as you say it might make more sense for SEO as well.

 

My final doubt is how to treat categories. For instance I have a product in one category like this:

http://givensa.com/es/home/corkers-robots

 

but then maybe in 6 months I decide that this category is no longer wanted. The product is in another category as well so it will not disappear but the original link might not work anymore (changing name of a product might be another scenario).

 

One thing I tried was to just remove the category like this:

http://givensa.com/es/corkers-robots

 

and this actually worked, the product was found ok. Does this seem like an approach that makes sense or are there better ways to do it?

Link to comment
Share on other sites

×
×
  • Create New...