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

#   wrong urls in google

##

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

Less More

- Posts: 21
- Thank you received: 0
-
-

10 years 5 months ago [\#239653](#239653) by [davidmayne](/forum/user/32800-davidmayne "View davidmayne's Profile")  *[wrong urls in google](/forum/32-content-creation/884423-wrong-urls-in-google#239653 "-- HikaShop version -- : 2.6.3  Hi, I have a problem with urls being generated and referenced by google that are not the same as through the menu which works fine. I have set use canonical url and generate if missing.  Thus through main menu   www.stepsandstillages.co.uk/second-hand  is fine. But I can also reference it by   www.stepsandstillages.co.uk/products/sti...egory/19-second-hand , this happens to display fine but sometimes the generated urls dont.  Its been a while since I last looked at hikashop and I cant work out what is going on and how to stop it! I tried setting canonical url on categories to the same as the menu but this gets overwritten so that it looks like the above. I have rewritten some urls in htaccess but this would work only for a few urls. What am I doing wrong?  Thanks,  David.")* was created by *[davidmayne](/forum/user/32800-davidmayne "View davidmayne's Profile")*

-- HikaShop version -- : 2.6.3

Hi,
I have a problem with urls being generated and referenced by google that are not the same as through the menu which works fine. I have set use canonical url and generate if missing.

Thus through main menu [ www.stepsandstillages.co.uk/second-hand](https://www.stepsandstillages.co.uk/second-hand) is fine. But I can also reference it by [ www.stepsandstillages.co.uk/products/sti...egory/19-second-hand](https://www.stepsandstillages.co.uk/products/stillages/category/19-second-hand), this happens to display fine but sometimes the generated urls dont.

Its been a while since I last looked at hikashop and I cant work out what is going on and how to stop it! I tried setting canonical url on categories to the same as the menu but this gets overwritten so that it looks like the above. I have rewritten some urls in htaccess but this would work only for a few urls. What am I doing wrong?

Thanks,

David.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg0NDIzLXdyb25nLXVybHMtaW4tZ29vZ2xlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

10 years 5 months ago [\#239713](#239713) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[wrong urls in google](/forum/32-content-creation/884423-wrong-urls-in-google#239713 "-- HikaShop version -- : 2.6.3  Hi, I have a problem with urls being generated and referenced by google that are not the same as through the menu which works fine. I have set use canonical url and generate if missing.  Thus through main menu   www.stepsandstillages.co.uk/second-hand  is fine. But I can also reference it by   www.stepsandstillages.co.uk/products/sti...egory/19-second-hand , this happens to display fine but sometimes the generated urls dont.  Its been a while since I last looked at hikashop and I cant work out what is going on and how to stop it! I tried setting canonical url on categories to the same as the menu but this gets overwritten so that it looks like the above. I have rewritten some urls in htaccess but this would work only for a few urls. What am I doing wrong?  Thanks,  David.")*

Hi,

The system seems to be working fine:
[ take.ms/iYiC5](http://take.ms/iYiC5)
The correct URL is placed as canonical URL in the page regardless of the link used to access it.
So when google will reindex the page, it should only use the URL of the canonical URL and remove the other from its index.
Note that the reindexing can take a while but you can ask google to check it:
[ support.google.com/webmasters/answer/6065812?hl=en](https://support.google.com/webmasters/answer/6065812?hl=en)

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

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

Less More

- Posts: 21
- Thank you received: 0
-
-

10 years 5 months ago [\#239806](#239806) by [davidmayne](/forum/user/32800-davidmayne "View davidmayne's Profile")  Replied by *[davidmayne](/forum/user/32800-davidmayne "View davidmayne's Profile")* on topic *[wrong urls in google](/forum/32-content-creation/884423-wrong-urls-in-google#239806 "-- HikaShop version -- : 2.6.3  Hi, I have a problem with urls being generated and referenced by google that are not the same as through the menu which works fine. I have set use canonical url and generate if missing.  Thus through main menu   www.stepsandstillages.co.uk/second-hand  is fine. But I can also reference it by   www.stepsandstillages.co.uk/products/sti...egory/19-second-hand , this happens to display fine but sometimes the generated urls dont.  Its been a while since I last looked at hikashop and I cant work out what is going on and how to stop it! I tried setting canonical url on categories to the same as the menu but this gets overwritten so that it looks like the above. I have rewritten some urls in htaccess but this would work only for a few urls. What am I doing wrong?  Thanks,  David.")*

Hi,

Yes the correct canonical is showing now as I set the canonical within the category and set hikashop sef configuration to use canonical url if specified. If I set it to use canonical and generate if missing the catagory canonical is overwritten by the link used to access it and this becomes the new canonical. This happens when I generate a new site map using the old xmap sitemap plugin. Maybe this is the problem.

Thanks.

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

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

[](#top)
