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

#   Canonical URLs

##

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

Less More

- Posts: 43
- Thank you received: 1
-
-

13 years 7 months ago [\#101019](#101019) by [mhunter](/forum/user/9679-mhunter "View mhunter's Profile")  *[Canonical URLs](/forum/4-how-to/80973-canonical-urls#101019 "I've read that adding canonical urls to products will avoid SEO problems with duplicate content created by the different categories and menus making different urls for the same product. I've looked at...")* was created by *[mhunter](/forum/user/9679-mhunter "View mhunter's Profile")*

I've read that adding canonical urls to products will avoid SEO problems with duplicate content created by the different categories and menus making different urls for the same product. I've looked at various forum posts here but I'm afraid I'm still not clear what url I need to add to the canonical url box on the product page.

At the moment an example of my shortest url is http://localhost:8888/garters/lace/product/4-carrie. I have Joomla global configuration set to use search engine friendly urls and url rewriting. Obviously I'm still testing on my local machine. Do I have to put that whole url in the canonical url box, or can I make a shorter one, eg [ www.domain.com/carrie](http://www.domain.com/carrie) ? Or does that need another plugin? Can I test this on localhost or will I have to wait until my site goes live and then add the canonical urls with the domain name?

Thanks, as ever.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwOTczLWNhbm9uaWNhbC11cmxzP3RtcGw9bWFya2Rvd24=) 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 [\#101099](#101099) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Canonical URLs](/forum/4-how-to/80973-canonical-urls#101099 "I've read that adding canonical urls to products will avoid SEO problems with duplicate content created by the different categories and menus making different urls for the same product. I've looked at...")*

Hi,

The canonical url is read by the robot, so on localhost it will not have any effect.
You have to set the urls with the domain name.

The url to use in the canonical field, is the shortest valid url to access the product. In your case: [ domain.com/garters/lace/product/4-carrie](http://domain.com/garters/lace/product/4-carrie)
If you have configured the sef component to reach the product page via: [ domain.com/carrie](http://domain.com/carrie), so you can use this one, else not.

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

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

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

Less More

- Posts: 43
- Thank you received: 1
-
-

13 years 6 months ago [\#101130](#101130) by [mhunter](/forum/user/9679-mhunter "View mhunter's Profile")  Replied by *[mhunter](/forum/user/9679-mhunter "View mhunter's Profile")* on topic *[Canonical URLs](/forum/4-how-to/80973-canonical-urls#101130 "I've read that adding canonical urls to products will avoid SEO problems with duplicate content created by the different categories and menus making different urls for the same product. I've looked at...")*

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwOTczLWNhbm9uaWNhbC11cmxzP3RtcGw9bWFya2Rvd24=) 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.044 seconds

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