[Skip to main content](#vessel-content)

#   SEF and canonical urls (feature request?)

##

- **[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")**
- [![eskimoroll's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9945-eskimoroll "View eskimoroll's Profile") Topic Author
- [ Offline](/forum/user/9945-eskimoroll)

Less More

- Posts: 43
- Thank you received: 3
-
-

13 years 9 months ago [\#86989](#86989) by [eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")  *[SEF and canonical urls (feature request?)](/forum/4-how-to/77728-sef-and-canonical-urls-feature-request#86989 "Hi  I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.  My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).  The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.  For instance:  http://domain/filter1/product1.html http://domain/filter2/product1.html  Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the &quot;Canonical&quot; link keyword...however I cannot add this through Hikashop.  2 questions:  1) Has anyone in my scenario corrected this seemingly common problem using the &quot;Canonical&quot; instruction?  2) If so, would it be possible to allow us to add a &#42;canonical url&#42; when filling in the product details page in the backend? It would need to be added as a &quot;link&quot; section when generating the html page.  Thanks")* was created by *[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")*

Hi

I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.

My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).

The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.

For instance:

http://domain/filter1/product1.html
http://domain/filter2/product1.html

Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the "Canonical" link keyword...however I cannot add this through Hikashop.

2 questions:

1) Has anyone in my scenario corrected this seemingly common problem using the "Canonical" instruction?

2) If so, would it be possible to allow us to add a *canonical url* when filling in the product details page in the backend? It would need to be added as a "link" section when generating the html page.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3NzI4LXNlZi1hbmQtY2Fub25pY2FsLXVybHMtZmVhdHVyZS1yZXF1ZXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")**
- [![eskimoroll's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9945-eskimoroll "View eskimoroll's Profile") Topic Author
- [ Offline](/forum/user/9945-eskimoroll)

Less More

- Posts: 43
- Thank you received: 3
-
-

13 years 9 months ago [\#87005](#87005) by [eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")  Replied by *[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")* on topic *[SEF and canonical urls (feature request?)](/forum/4-how-to/77728-sef-and-canonical-urls-feature-request#87005 "Hi  I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.  My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).  The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.  For instance:  http://domain/filter1/product1.html http://domain/filter2/product1.html  Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the &quot;Canonical&quot; link keyword...however I cannot add this through Hikashop.  2 questions:  1) Has anyone in my scenario corrected this seemingly common problem using the &quot;Canonical&quot; instruction?  2) If so, would it be possible to allow us to add a &#42;canonical url&#42; when filling in the product details page in the backend? It would need to be added as a &quot;link&quot; section when generating the html page.  Thanks")*

I thought of another possibility:

Would it be possible for me to create static html pages for the product details...and have Hikashop use those when requested, instead of building them dynamically?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3NzI4LXNlZi1hbmQtY2Fub25pY2FsLXVybHMtZmVhdHVyZS1yZXF1ZXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")**
- [![eskimoroll's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9945-eskimoroll "View eskimoroll's Profile") Topic Author
- [ Offline](/forum/user/9945-eskimoroll)

Less More

- Posts: 43
- Thank you received: 3
-
-

13 years 9 months ago [\#87185](#87185) by [eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")  Replied by *[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")* on topic *[SEF and canonical urls (feature request?)](/forum/4-how-to/77728-sef-and-canonical-urls-feature-request#87185 "Hi  I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.  My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).  The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.  For instance:  http://domain/filter1/product1.html http://domain/filter2/product1.html  Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the &quot;Canonical&quot; link keyword...however I cannot add this through Hikashop.  2 questions:  1) Has anyone in my scenario corrected this seemingly common problem using the &quot;Canonical&quot; instruction?  2) If so, would it be possible to allow us to add a &#42;canonical url&#42; when filling in the product details page in the backend? It would need to be added as a &quot;link&quot; section when generating the html page.  Thanks")*

No responses?

I'm guessing that anyone that uses Hikashop and has a multi-lingual site would need URL management functionality...otherwise your site is getting penalized.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3NzI4LXNlZi1hbmQtY2Fub25pY2FsLXVybHMtZmVhdHVyZS1yZXF1ZXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86575
- Thank you received: 14318
-
-

13 years 9 months ago [\#87336](#87336) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[SEF and canonical urls (feature request?)](/forum/4-how-to/77728-sef-and-canonical-urls-feature-request#87336 "Hi  I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.  My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).  The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.  For instance:  http://domain/filter1/product1.html http://domain/filter2/product1.html  Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the &quot;Canonical&quot; link keyword...however I cannot add this through Hikashop.  2 questions:  1) Has anyone in my scenario corrected this seemingly common problem using the &quot;Canonical&quot; instruction?  2) If so, would it be possible to allow us to add a &#42;canonical url&#42; when filling in the product details page in the backend? It would need to be added as a &quot;link&quot; section when generating the html page.  Thanks")*

Hi,

Normally, in each products listing /filter module you can select a menu item (or enter its id) and the links of that module will redirect to that menu item so that you get the same link even if you come from different places.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3NzI4LXNlZi1hbmQtY2Fub25pY2FsLXVybHMtZmVhdHVyZS1yZXF1ZXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")**
- [![eskimoroll's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9945-eskimoroll "View eskimoroll's Profile") Topic Author
- [ Offline](/forum/user/9945-eskimoroll)

Less More

- Posts: 43
- Thank you received: 3
-
-

13 years 8 months ago [\#92785](#92785) by [eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")  Replied by *[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")* on topic *[SEF and canonical urls (feature request?)](/forum/4-how-to/77728-sef-and-canonical-urls-feature-request#92785 "Hi  I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.  My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).  The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.  For instance:  http://domain/filter1/product1.html http://domain/filter2/product1.html  Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the &quot;Canonical&quot; link keyword...however I cannot add this through Hikashop.  2 questions:  1) Has anyone in my scenario corrected this seemingly common problem using the &quot;Canonical&quot; instruction?  2) If so, would it be possible to allow us to add a &#42;canonical url&#42; when filling in the product details page in the backend? It would need to be added as a &quot;link&quot; section when generating the html page.  Thanks")*

I'm sorry, nicolas, could you give me a simple example please? This is my first time with hikashop.

I have 130 or so products (they are dahlias/flowers)...they can be filtered(menu choices) alphabetically, according to size, color etc....I have 4 filters(menus) and each creates its own url to the same product. Also, I have a separate set of menus(filters) for both english and french.

How would you approach this?

the website is: [ www.productionstanicet.com](http://www.productionstanicet.com)

(you may have to use a proxy, I have whitelisted only north america in my FW, atm)

thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3NzI4LXNlZi1hbmQtY2Fub25pY2FsLXVybHMtZmVhdHVyZS1yZXF1ZXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86575
- Thank you received: 14318
-
-

13 years 8 months ago [\#93015](#93015) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[SEF and canonical urls (feature request?)](/forum/4-how-to/77728-sef-and-canonical-urls-feature-request#93015 "Hi  I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.  My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).  The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.  For instance:  http://domain/filter1/product1.html http://domain/filter2/product1.html  Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the &quot;Canonical&quot; link keyword...however I cannot add this through Hikashop.  2 questions:  1) Has anyone in my scenario corrected this seemingly common problem using the &quot;Canonical&quot; instruction?  2) If so, would it be possible to allow us to add a &#42;canonical url&#42; when filling in the product details page in the backend? It would need to be added as a &quot;link&quot; section when generating the html page.  Thanks")*

The way you did your website menu structure, you won't be able to get unique URLs for the products.
If you have them in several categories and have different menus to access the products from different categories, the URLs will have to be different to reflect that. Canonicalization would be a solution in such case but there is no such system in HikaShop for now.
That would require a plugin to be built to add a field for each product where you could specify the canonical URL which would then be added to the headers of the product page.

The following user(s) said Thank You: [eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3NzI4LXNlZi1hbmQtY2Fub25pY2FsLXVybHMtZmVhdHVyZS1yZXF1ZXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")**
- [![eskimoroll's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9945-eskimoroll "View eskimoroll's Profile") Topic Author
- [ Offline](/forum/user/9945-eskimoroll)

Less More

- Posts: 43
- Thank you received: 3
-
-

13 years 7 months ago [\#98900](#98900) by [eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")  Replied by *[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")* on topic *[SEF and canonical urls (feature request?)](/forum/4-how-to/77728-sef-and-canonical-urls-feature-request#98900 "Hi  I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.  My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).  The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.  For instance:  http://domain/filter1/product1.html http://domain/filter2/product1.html  Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the &quot;Canonical&quot; link keyword...however I cannot add this through Hikashop.  2 questions:  1) Has anyone in my scenario corrected this seemingly common problem using the &quot;Canonical&quot; instruction?  2) If so, would it be possible to allow us to add a &#42;canonical url&#42; when filling in the product details page in the backend? It would need to be added as a &quot;link&quot; section when generating the html page.  Thanks")*

Hi, thank you for the canonical url feature!

I installed it this morning and have a question:

For the website above, it is in 2 languages. I was hoping to create 2 canonical urls for each product (one in each language), for instance:

french default url: [ www.productionstanicet.com/duet](http://www.productionstanicet.com/duet) (for the french version)
english url: [ www.productionstanicet.com/en/duet](http://www.productionstanicet.com/en/duet)

Each product has two descriptions, one in english, the other in french.

However, I was not able to add a canonical url for the translation....I have falang installed as well.

Is this possible?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3NzI4LXNlZi1hbmQtY2Fub25pY2FsLXVybHMtZmVhdHVyZS1yZXF1ZXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86575
- Thank you received: 14318
-
-

13 years 7 months ago [\#99080](#99080) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[SEF and canonical urls (feature request?)](/forum/4-how-to/77728-sef-and-canonical-urls-feature-request#99080 "Hi  I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.  My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).  The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.  For instance:  http://domain/filter1/product1.html http://domain/filter2/product1.html  Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the &quot;Canonical&quot; link keyword...however I cannot add this through Hikashop.  2 questions:  1) Has anyone in my scenario corrected this seemingly common problem using the &quot;Canonical&quot; instruction?  2) If so, would it be possible to allow us to add a &#42;canonical url&#42; when filling in the product details page in the backend? It would need to be added as a &quot;link&quot; section when generating the html page.  Thanks")*

That's not possible at the moment. It will be possible with next version.

For now, you can edit the hikashop_product.xml content element file of Falang/Joomfish and add the line below in it to be able to translation the canonical URL directly in Falang/JoomFish: Code:

&lt;field type="text" name="product_canonical" length="255" maxlength="255" translate="1"&gt;Product canonical&lt;/field&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3NzI4LXNlZi1hbmQtY2Fub25pY2FsLXVybHMtZmVhdHVyZS1yZXF1ZXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")**
- [![eskimoroll's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9945-eskimoroll "View eskimoroll's Profile") Topic Author
- [ Offline](/forum/user/9945-eskimoroll)

Less More

- Posts: 43
- Thank you received: 3
-
-

13 years 6 months ago [\#105170](#105170) by [eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")  Replied by *[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")* on topic *[SEF and canonical urls (feature request?)](/forum/4-how-to/77728-sef-and-canonical-urls-feature-request#105170 "Hi  I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.  My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).  The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.  For instance:  http://domain/filter1/product1.html http://domain/filter2/product1.html  Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the &quot;Canonical&quot; link keyword...however I cannot add this through Hikashop.  2 questions:  1) Has anyone in my scenario corrected this seemingly common problem using the &quot;Canonical&quot; instruction?  2) If so, would it be possible to allow us to add a &#42;canonical url&#42; when filling in the product details page in the backend? It would need to be added as a &quot;link&quot; section when generating the html page.  Thanks")*

Thank you Nicholas for this new feature.

I have 2.1.2 installed and was hoping to resolve this issue with my client, but I think I may have found a bug.

The canonical url for the translation (using the tab in the product page) will not let me save anything other than the canonical url of the product in its original language.

For instance:

Target url in french: [ www.productionstanicet.com/duet](http://www.productionstanicet.com/duet)
Target english version: [ www.productionstanicet.com/en/duet](http://www.productionstanicet.com/en/duet)

In the product *duet*, I add: */duet* for can. url
In the trans tab, I add: */en/duet*

When I save, the trans tab reverts to */duet* (which is what is rendered in the page source too)

I do have a workaround, I can go through the Falang component, locate my products and update the canonical urls there (which are saved properly). However, I must publish them to complete the process. I thought Hikashop directly used the Falang tables...but after considering my workaround, I am a little confused.

Anyhow, just a heads up - and thanks again for the feature!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3NzI4LXNlZi1hbmQtY2Fub25pY2FsLXVybHMtZmVhdHVyZS1yZXF1ZXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 6 months ago [\#105243](#105243) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[SEF and canonical urls (feature request?)](/forum/4-how-to/77728-sef-and-canonical-urls-feature-request#105243 "Hi  I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.  My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).  The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.  For instance:  http://domain/filter1/product1.html http://domain/filter2/product1.html  Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the &quot;Canonical&quot; link keyword...however I cannot add this through Hikashop.  2 questions:  1) Has anyone in my scenario corrected this seemingly common problem using the &quot;Canonical&quot; instruction?  2) If so, would it be possible to allow us to add a &#42;canonical url&#42; when filling in the product details page in the backend? It would need to be added as a &quot;link&quot; section when generating the html page.  Thanks")*

Hi,

There was a missing element in the view "product / edit_translation" (backend template), thanks to add: Code:

$this-&gt;product_canonical_input = "translation[product_canonical][".$language_id."]"; $this-&gt;element-&gt;product_canonical = @$translation-&gt;product_canonical-&gt;value; if(isset($translation-&gt;product_canonical-&gt;published)){ $this-&gt;product_canonical_published = $translation-&gt;product_canonical-&gt;published; $this-&gt;product_canonical_id = $translation-&gt;product_canonical-&gt;id; }

After: Code:

$this-&gt;product_alias_input = "translation[product_alias][".$language_id."]"; $this-&gt;element-&gt;product_alias = @$translation-&gt;product_alias-&gt;value; if(isset($translation-&gt;product_alias-&gt;published)){ $this-&gt;product_alias_published = $translation-&gt;product_alias-&gt;published; $this-&gt;product_alias_id = $translation-&gt;product_alias-&gt;id; }

Hope this will solve your problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3NzI4LXNlZi1hbmQtY2Fub25pY2FsLXVybHMtZmVhdHVyZS1yZXF1ZXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")**
- [![eskimoroll's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9945-eskimoroll "View eskimoroll's Profile") Topic Author
- [ Offline](/forum/user/9945-eskimoroll)

Less More

- Posts: 43
- Thank you received: 3
-
-

13 years 6 months ago [\#105330](#105330) by [eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")  Replied by *[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")* on topic *[SEF and canonical urls (feature request?)](/forum/4-how-to/77728-sef-and-canonical-urls-feature-request#105330 "Hi  I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.  My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).  The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.  For instance:  http://domain/filter1/product1.html http://domain/filter2/product1.html  Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the &quot;Canonical&quot; link keyword...however I cannot add this through Hikashop.  2 questions:  1) Has anyone in my scenario corrected this seemingly common problem using the &quot;Canonical&quot; instruction?  2) If so, would it be possible to allow us to add a &#42;canonical url&#42; when filling in the product details page in the backend? It would need to be added as a &quot;link&quot; section when generating the html page.  Thanks")*

This code is already present in the following file: .../public_html/administrator/components/com_hikashop/views/product/tmpl/translation.php. I am running Essential 2.1.2.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3NzI4LXNlZi1hbmQtY2Fub25pY2FsLXVybHMtZmVhdHVyZS1yZXF1ZXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 6 months ago [\#105397](#105397) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[SEF and canonical urls (feature request?)](/forum/4-how-to/77728-sef-and-canonical-urls-feature-request#105397 "Hi  I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.  My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).  The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.  For instance:  http://domain/filter1/product1.html http://domain/filter2/product1.html  Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the &quot;Canonical&quot; link keyword...however I cannot add this through Hikashop.  2 questions:  1) Has anyone in my scenario corrected this seemingly common problem using the &quot;Canonical&quot; instruction?  2) If so, would it be possible to allow us to add a &#42;canonical url&#42; when filling in the product details page in the backend? It would need to be added as a &quot;link&quot; section when generating the html page.  Thanks")*

Thanks to check the file "edit_translation" and not "translation"

> There was a missing element in the view "product / **edit\_translation**" (backend template)

The following user(s) said Thank You: [eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3NzI4LXNlZi1hbmQtY2Fub25pY2FsLXVybHMtZmVhdHVyZS1yZXF1ZXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")**
- [![eskimoroll's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9945-eskimoroll "View eskimoroll's Profile") Topic Author
- [ Offline](/forum/user/9945-eskimoroll)

Less More

- Posts: 43
- Thank you received: 3
-
-

13 years 1 month ago [\#126114](#126114) by [eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")  Replied by *[eskimoroll](/forum/user/9945-eskimoroll "View eskimoroll's Profile")* on topic *[SEF and canonical urls (feature request?)](/forum/4-how-to/77728-sef-and-canonical-urls-feature-request#126114 "Hi  I am having quite a time trying to generate sef urls and was wondering if a small change to Hikashop might allow for more flexibility.  My client has a bilingual site (english, french) and sells about 160 products online...with a product details page for each language (I use Falang).  The menus allow for different filters on the products, so that the product details page becomes accessible through different urls...so my site is getting penalized by google.  For instance:  http://domain/filter1/product1.html http://domain/filter2/product1.html  Since I cannot seem to get Joomla 2.5, Hikashop and ACESef to play well together, I was hoping to try the &quot;Canonical&quot; link keyword...however I cannot add this through Hikashop.  2 questions:  1) Has anyone in my scenario corrected this seemingly common problem using the &quot;Canonical&quot; instruction?  2) If so, would it be possible to allow us to add a &#42;canonical url&#42; when filling in the product details page in the backend? It would need to be added as a &quot;link&quot; section when generating the html page.  Thanks")*

A quick followup, while I was lurking:

After having used the canonical url feature in Hikashop, this website's rankings have improved immensely.

Thank you, guys.

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3NzI4LXNlZi1hbmQtY2Fub25pY2FsLXVybHMtZmVhdHVyZS1yZXF1ZXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.102 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
