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

#   Hikashop Social Networks Plugin and SEF URLs

##

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

Less More

- Posts: 13
- Thank you received: 0
-
-

13 years 3 weeks ago [\#127069](#127069) by [Metasoma](/forum/user/17269-metasoma "View Metasoma's Profile")  *[Hikashop Social Networks Plugin and SEF URLs](/forum/32-content-creation/862665-hikashop-social-networks-plugin-and-sef-urls#127069 "I have a problem with your Hikashop Social Networks Plugin. The plugin works fine when Joomla SEF URLs is off. But when SEF is on, the plugin doesn't work properly. The plugin doesn't post the correct...")* was created by *[Metasoma](/forum/user/17269-metasoma "View Metasoma's Profile")*

I have a problem with your Hikashop Social Networks Plugin. The plugin works fine when Joomla SEF URLs is off. But when SEF is on, the plugin doesn't work properly. The plugin doesn't post the correct link of a product page to Facebook or Twitter. Let's say I have this url of a product page: [ www.site.com/shop/movies/product/show/avatar](http://www.site.com/shop/movies/product/show/avatar) The plugin posts only this part: [ www.site.com/shop/movies](http://www.site.com/shop/movies)

I tried to use AddThis buttons but there is the same problem. So how to fix all this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODYyNjY1LWhpa2FzaG9wLXNvY2lhbC1uZXR3b3Jrcy1wbHVnaW4tYW5kLXNlZi11cmxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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 3 weeks ago [\#127097](#127097) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Hikashop Social Networks Plugin and SEF URLs](/forum/32-content-creation/862665-hikashop-social-networks-plugin-and-sef-urls#127097 "I have a problem with your Hikashop Social Networks Plugin. The plugin works fine when Joomla SEF URLs is off. But when SEF is on, the plugin doesn't work properly. The plugin doesn't post the correct...")*

Hi,

Have you set a value in the "canonical url" field of your product in the product edition page ?
If it is, thanks to try to change it, it seems to be an invalid url and that's why the given url is wrong.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODYyNjY1LWhpa2FzaG9wLXNvY2lhbC1uZXR3b3Jrcy1wbHVnaW4tYW5kLXNlZi11cmxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 13
- Thank you received: 0
-
-

13 years 3 weeks ago [\#127105](#127105) by [Metasoma](/forum/user/17269-metasoma "View Metasoma's Profile")  Replied by *[Metasoma](/forum/user/17269-metasoma "View Metasoma's Profile")* on topic *[Hikashop Social Networks Plugin and SEF URLs](/forum/32-content-creation/862665-hikashop-social-networks-plugin-and-sef-urls#127105 "I have a problem with your Hikashop Social Networks Plugin. The plugin works fine when Joomla SEF URLs is off. But when SEF is on, the plugin doesn't work properly. The plugin doesn't post the correct...")*

Well, it seems you are right, it has something to do with canonical url. I see &lt;link href="[ www.site.com/shop/movies](http://www.site.com/shop/movies)" rel="canonical" /&gt; in the source of every page. But I have never changed the value of the field, it's blank. In PHPMyAdmin product_canonical is blank.

I tried to change the value from blank to the actual link ([ www.site.com/shop/movies/product/show/avatar](http://www.site.com/shop/movies/product/show/avatar)), and I see in PHPMyAdmin that product_canonical is changed, it's [ www.site.com/shop/movies/product/show/avatar](http://www.site.com/shop/movies/product/show/avatar), but in the source of the page it's still &lt;link href="[ www.site.com/shop/movies](http://www.site.com/shop/movies)" rel="canonical" /&gt;.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODYyNjY1LWhpa2FzaG9wLXNvY2lhbC1uZXR3b3Jrcy1wbHVnaW4tYW5kLXNlZi11cmxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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 3 weeks ago [\#127131](#127131) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Hikashop Social Networks Plugin and SEF URLs](/forum/32-content-creation/862665-hikashop-social-networks-plugin-and-sef-urls#127131 "I have a problem with your Hikashop Social Networks Plugin. The plugin works fine when Joomla SEF URLs is off. But when SEF is on, the plugin doesn't work properly. The plugin doesn't post the correct...")*

If the canonical field is empty, you should have nothing as canonical url.

Are you sure that you don't have the canonical twice ?
You have maybe another component which is generating canonical urls.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODYyNjY1LWhpa2FzaG9wLXNvY2lhbC1uZXR3b3Jrcy1wbHVnaW4tYW5kLXNlZi11cmxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 13
- Thank you received: 0
-
-

13 years 3 weeks ago [\#127146](#127146) by [Metasoma](/forum/user/17269-metasoma "View Metasoma's Profile")  Replied by *[Metasoma](/forum/user/17269-metasoma "View Metasoma's Profile")* on topic *[Hikashop Social Networks Plugin and SEF URLs](/forum/32-content-creation/862665-hikashop-social-networks-plugin-and-sef-urls#127146 "I have a problem with your Hikashop Social Networks Plugin. The plugin works fine when Joomla SEF URLs is off. But when SEF is on, the plugin doesn't work properly. The plugin doesn't post the correct...")*

I have no any other components installed. Only Joomla and Hikashop. That's what else I found out:

When Joomla SEF is ON:
I see &lt;link href="[ www.site.com/shop/movies](http://www.site.com/shop/movies)" rel="canonical" /&gt; only on a product page, like [ www.site.com/shop/movies/product/show/avatar](http://www.site.com/shop/movies/product/show/avatar), there is nothing on a category page, like [ www.site.com/shop/movies](http://www.site.com/shop/movies) or [ www.site.com/shop](http://www.site.com/shop).

When Joomla SEF is OFF:
I see &lt;link href="[ www.site.com/index.php?option=com\_hikash...mp;view=product&amp;blah](http://www.site.com/index.php?option=com_hikashop&amp;view=product&blah) blah blah" rel="canonical" /&gt; absolutely on every page, like [ www.site.com/shop/movies](http://www.site.com/shop/movies) or [ www.site.com/shop](http://www.site.com/shop).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODYyNjY1LWhpa2FzaG9wLXNvY2lhbC1uZXR3b3Jrcy1wbHVnaW4tYW5kLXNlZi11cmxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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 3 weeks ago [\#127200](#127200) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Hikashop Social Networks Plugin and SEF URLs](/forum/32-content-creation/862665-hikashop-social-networks-plugin-and-sef-urls#127200 "I have a problem with your Hikashop Social Networks Plugin. The plugin works fine when Joomla SEF URLs is off. But when SEF is on, the plugin doesn't work properly. The plugin doesn't post the correct...")*

Hi,

I just tried on my end with the exemple given, and the canonical url is the good one, and the link for the hikashopsocial is the good one too.

Thanks to give us a link to your website, a backend and ftp access in order to debug that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODYyNjY1LWhpa2FzaG9wLXNvY2lhbC1uZXR3b3Jrcy1wbHVnaW4tYW5kLXNlZi11cmxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 13
- Thank you received: 0
-
-

13 years 3 weeks ago [\#127252](#127252) by [Metasoma](/forum/user/17269-metasoma "View Metasoma's Profile")  Replied by *[Metasoma](/forum/user/17269-metasoma "View Metasoma's Profile")* on topic *[Hikashop Social Networks Plugin and SEF URLs](/forum/32-content-creation/862665-hikashop-social-networks-plugin-and-sef-urls#127252 "I have a problem with your Hikashop Social Networks Plugin. The plugin works fine when Joomla SEF URLs is off. But when SEF is on, the plugin doesn't work properly. The plugin doesn't post the correct...")*

Well, I solved the problem. I turned off the System - SEF plug-in in the Joomla's Plug-in Manager. Now everything works fine. But what I don't understand is that how Joomla's SEF still works. I thought that the plug-in was responsible for the entire SEF feature. So, the plug-in is turned off - no SEF URLs. But they are still there, only now there is no that canonical url in the source of a page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODYyNjY1LWhpa2FzaG9wLXNvY2lhbC1uZXR3b3Jrcy1wbHVnaW4tYW5kLXNlZi11cmxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 2
- Thank you received: 0
-
-

13 years 6 days ago [\#129942](#129942) by [dartmen](/forum/user/13674-dartmen "View dartmen's Profile")  Replied by *[dartmen](/forum/user/13674-dartmen "View dartmen's Profile")* on topic *[Hikashop Social Networks Plugin and SEF URLs](/forum/32-content-creation/862665-hikashop-social-networks-plugin-and-sef-urls#129942 "I have a problem with your Hikashop Social Networks Plugin. The plugin works fine when Joomla SEF URLs is off. But when SEF is on, the plugin doesn't work properly. The plugin doesn't post the correct...")*

Hi,
I have a problem with URLs. There is an ID number in front of categories and products in URL.
I tried to use canonical URL but without success. Any ideas how to ger rid of this id in URL?
I'm using Czech lang.
Thanks

- [ ![hd076079.png](/forum/attachment/13259) ](/forum/attachment/13259 "hd076079.png") [ ](/forum/attachment/13259?download=1 "hd076079.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODYyNjY1LWhpa2FzaG9wLXNvY2lhbC1uZXR3b3Jrcy1wbHVnaW4tYW5kLXNlZi11cmxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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 5 days ago [\#130067](#130067) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Hikashop Social Networks Plugin and SEF URLs](/forum/32-content-creation/862665-hikashop-social-networks-plugin-and-sef-urls#130067 "I have a problem with your Hikashop Social Networks Plugin. The plugin works fine when Joomla SEF URLs is off. But when SEF is on, the plugin doesn't work properly. The plugin doesn't post the correct...")*

Hi,

There is actually no options for that in HikaShop.
If we remove the ids and there is two products with the same name it can cause problems.
It's in our todo list.

Actually you can probably JoomSef for this kind of things, they have a good integration with HikaShop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODYyNjY1LWhpa2FzaG9wLXNvY2lhbC1uZXR3b3Jrcy1wbHVnaW4tYW5kLXNlZi11cmxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.156 seconds

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