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

#   How to remove needless links from Xmap?

##

- **[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")**
- [![neviqimka's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-25.png)](/forum/user/22899-neviqimka "View neviqimka's Profile") Topic Author
- [ Offline](/forum/user/22899-neviqimka)

Less More

- Posts: 126
- Thank you received: 0
-
-

12 years 2 months ago -  12 years 2 months ago [\#167874](#167874) by [neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")  *[How to remove needless links from Xmap?](/forum/30-integrations/870433-how-to-remove-needless-links-from-xmap#167874 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.22  It's some duplicate pages, for example: site.com/hikashop/component&#95;category/my&#95;category.html and it's copy of site.com/hikashop/my&#95;category.html or site.com/hikashop/main&#95;category/component&#95;category/my&#95;subcategory.html this page have one module with product of subcategory, but it's part of site.com/hikashop/my&#95;category.html where I have on one page all modules with all sub categories of main category")* was created by *[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")*

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 2.5.22

It's some duplicate pages, for example:
site.com/hikashop/**component\_category**/my_category.html and it's copy of
site.com/hikashop/my_category.html
or
site.com/hikashop**/main\_category/component\_category**/my_subcategory.html this page have one module with product of subcategory, but it's part of
site.com/hikashop/my_category.html where I have on one page all modules with all sub categories of main category

Last edit: 12 years 2 months ago by [neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy84NzA0MzMtaG93LXRvLXJlbW92ZS1uZWVkbGVzcy1saW5rcy1mcm9tLXhtYXA/dG1wbD1tYXJrZG93bg==) 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)
-

12 years 2 months ago [\#167883](#167883) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[How to remove needless links from Xmap?](/forum/30-integrations/870433-how-to-remove-needless-links-from-xmap#167883 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.22  It's some duplicate pages, for example: site.com/hikashop/component&#95;category/my&#95;category.html and it's copy of site.com/hikashop/my&#95;category.html or site.com/hikashop/main&#95;category/component&#95;category/my&#95;subcategory.html this page have one module with product of subcategory, but it's part of site.com/hikashop/my&#95;category.html where I have on one page all modules with all sub categories of main category")*

Hi,

You seem to have a specific case, the solution will potentially to edit the xmap plugin or create a new plugin based on a xmap trigger.
It require PHP knowledges.

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

- **[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")**
- [![neviqimka's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-25.png)](/forum/user/22899-neviqimka "View neviqimka's Profile") Topic Author
- [ Offline](/forum/user/22899-neviqimka)

Less More

- Posts: 126
- Thank you received: 0
-
-

12 years 2 months ago -  12 years 2 months ago [\#167978](#167978) by [neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")  Replied by *[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")* on topic *[How to remove needless links from Xmap?](/forum/30-integrations/870433-how-to-remove-needless-links-from-xmap#167978 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.22  It's some duplicate pages, for example: site.com/hikashop/component&#95;category/my&#95;category.html and it's copy of site.com/hikashop/my&#95;category.html or site.com/hikashop/main&#95;category/component&#95;category/my&#95;subcategory.html this page have one module with product of subcategory, but it's part of site.com/hikashop/my&#95;category.html where I have on one page all modules with all sub categories of main category")*

I think all these problems have appeared because HikaShop does not give remove "Category SEF name", as a result I have duplicate links of categories ![:(](/media/kunena/emoticons/22.png ":(")
site.com/hikashop/**category**/my_category.html and site.com/hikashop/my_category.html
image missing http://s013.radikal.ru/i322/1408/ed/93b2368d1ee5.png

I created right code for robots.txt for exclude all links which have /category/? Code:

Disallow: */category/*

Last edit: 12 years 2 months ago by [neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy84NzA0MzMtaG93LXRvLXJlbW92ZS1uZWVkbGVzcy1saW5rcy1mcm9tLXhtYXA/dG1wbD1tYXJrZG93bg==) 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: 86358
- Thank you received: 14293
-
-

12 years 2 months ago [\#168021](#168021) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to remove needless links from Xmap?](/forum/30-integrations/870433-how-to-remove-needless-links-from-xmap#168021 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.22  It's some duplicate pages, for example: site.com/hikashop/component&#95;category/my&#95;category.html and it's copy of site.com/hikashop/my&#95;category.html or site.com/hikashop/main&#95;category/component&#95;category/my&#95;subcategory.html this page have one module with product of subcategory, but it's part of site.com/hikashop/my&#95;category.html where I have on one page all modules with all sub categories of main category")*

Hi,

I see that you set the "force canonical URLs on listings" option to use/generate the canonical URL. This means that you should already have a canonical URL in your categories/products and this same URL should always be used by the xmap plugin. So I don't see how that's possible unless you're using an old version of the xmap plugin which didn't support the canonical URL.
So I would first recommend to check that you have the latest version of the xmap plugin of HikaShop (download it on our website and install it on yours and see if that helps).

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

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

- **[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")**
- [![neviqimka's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-25.png)](/forum/user/22899-neviqimka "View neviqimka's Profile") Topic Author
- [ Offline](/forum/user/22899-neviqimka)

Less More

- Posts: 126
- Thank you received: 0
-
-

12 years 2 months ago [\#168180](#168180) by [neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")  Replied by *[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")* on topic *[How to remove needless links from Xmap?](/forum/30-integrations/870433-how-to-remove-needless-links-from-xmap#168180 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.22  It's some duplicate pages, for example: site.com/hikashop/component&#95;category/my&#95;category.html and it's copy of site.com/hikashop/my&#95;category.html or site.com/hikashop/main&#95;category/component&#95;category/my&#95;subcategory.html this page have one module with product of subcategory, but it's part of site.com/hikashop/my&#95;category.html where I have on one page all modules with all sub categories of main category")*

Thank you, all problems was resolved with help canonical URLs ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")**
- [![neviqimka's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-25.png)](/forum/user/22899-neviqimka "View neviqimka's Profile") Topic Author
- [ Offline](/forum/user/22899-neviqimka)

Less More

- Posts: 126
- Thank you received: 0
-
-

12 years 2 months ago [\#168579](#168579) by [neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")  Replied by *[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")* on topic *[How to remove needless links from Xmap?](/forum/30-integrations/870433-how-to-remove-needless-links-from-xmap#168579 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.22  It's some duplicate pages, for example: site.com/hikashop/component&#95;category/my&#95;category.html and it's copy of site.com/hikashop/my&#95;category.html or site.com/hikashop/main&#95;category/component&#95;category/my&#95;subcategory.html this page have one module with product of subcategory, but it's part of site.com/hikashop/my&#95;category.html where I have on one page all modules with all sub categories of main category")*

I have a problem with indexed site by search engines, for example I have link site.com/hikashop/**category**/product.html
but Google indexed product pages without "/category/" this link looks like site.com/hikashop/product.html which is not in sitemap :blink:

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4077
-
- [](http://obsi.dev)
-

12 years 2 months ago [\#168629](#168629) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to remove needless links from Xmap?](/forum/30-integrations/870433-how-to-remove-needless-links-from-xmap#168629 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.22  It's some duplicate pages, for example: site.com/hikashop/component&#95;category/my&#95;category.html and it's copy of site.com/hikashop/my&#95;category.html or site.com/hikashop/main&#95;category/component&#95;category/my&#95;subcategory.html this page have one module with product of subcategory, but it's part of site.com/hikashop/my&#95;category.html where I have on one page all modules with all sub categories of main category")*

Hi,

I am sorry but we are not expert on Google indexation.
Would it be possible to have a link to your website ? (you can send it by private message if you want to keep it private).

We could check your website and your sitemap, but I am not sure that we will find something ; it's not our domain of expertise.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")**
- [![neviqimka's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-25.png)](/forum/user/22899-neviqimka "View neviqimka's Profile") Topic Author
- [ Offline](/forum/user/22899-neviqimka)

Less More

- Posts: 126
- Thank you received: 0
-
-

12 years 2 months ago -  12 years 2 months ago [\#168724](#168724) by [neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")  Replied by *[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")* on topic *[How to remove needless links from Xmap?](/forum/30-integrations/870433-how-to-remove-needless-links-from-xmap#168724 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.22  It's some duplicate pages, for example: site.com/hikashop/component&#95;category/my&#95;category.html and it's copy of site.com/hikashop/my&#95;category.html or site.com/hikashop/main&#95;category/component&#95;category/my&#95;subcategory.html this page have one module with product of subcategory, but it's part of site.com/hikashop/my&#95;category.html where I have on one page all modules with all sub categories of main category")*

Sure, this is URL of my site map: basilurcaj.com/index.php?option=com_xmap&amp;view=xml&amp;tmpl=component&amp;id=1

And for example - I have URL of product page: basilurcaj.com/kolekcija-cajeva/**cajevi-list-cejlona**/crni-caj-uva-70259.html but google indexing other URLs - without category: basilurcaj.com/kolekcija-cajeva/crni-caj-uva-70259.html

Last edit: 12 years 2 months ago by [neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile").

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

- **[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")**
- [![neviqimka's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-25.png)](/forum/user/22899-neviqimka "View neviqimka's Profile") Topic Author
- [ Offline](/forum/user/22899-neviqimka)

Less More

- Posts: 126
- Thank you received: 0
-
-

12 years 2 months ago -  12 years 2 months ago [\#169412](#169412) by [neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")  Replied by *[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")* on topic *[How to remove needless links from Xmap?](/forum/30-integrations/870433-how-to-remove-needless-links-from-xmap#169412 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.22  It's some duplicate pages, for example: site.com/hikashop/component&#95;category/my&#95;category.html and it's copy of site.com/hikashop/my&#95;category.html or site.com/hikashop/main&#95;category/component&#95;category/my&#95;subcategory.html this page have one module with product of subcategory, but it's part of site.com/hikashop/my&#95;category.html where I have on one page all modules with all sub categories of main category")*

Also in Google index I found strange URL-s which like this basilurcaj.com/kolekcija-cajeva/**cid-5**.html where "cid-5" is ID of product :blink:
And basilurcaj.com/kolekcija-cajeva/cajevi-kolekcija-knjiga/**type-rss.feed** it's empty page with message "Product not found" :dry:

P.S. How do I disable indexing all site links except Xmap links - links in site map?

Last edit: 12 years 2 months ago by [neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy84NzA0MzMtaG93LXRvLXJlbW92ZS1uZWVkbGVzcy1saW5rcy1mcm9tLXhtYXA/dG1wbD1tYXJrZG93bg==) 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: 86358
- Thank you received: 14293
-
-

12 years 2 months ago [\#169449](#169449) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to remove needless links from Xmap?](/forum/30-integrations/870433-how-to-remove-needless-links-from-xmap#169449 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.22  It's some duplicate pages, for example: site.com/hikashop/component&#95;category/my&#95;category.html and it's copy of site.com/hikashop/my&#95;category.html or site.com/hikashop/main&#95;category/component&#95;category/my&#95;subcategory.html this page have one module with product of subcategory, but it's part of site.com/hikashop/my&#95;category.html where I have on one page all modules with all sub categories of main category")*

I could be old URLs that google still has indexed. And Google doesn't provide any way to exclude URLs except with the robots.txt file ( [ www.robotstxt.org/robotstxt.html](http://www.robotstxt.org/robotstxt.html) ) which doesn't allow you to just say not index URLs not in the site map.
In any case, as long as you provide a canonical URL in your products, Google will use that URL as the main one of your products ( it might take some time until the products get indexed again and that Google sees the canonical URL).

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

- **[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")**
- [![neviqimka's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-25.png)](/forum/user/22899-neviqimka "View neviqimka's Profile") Topic Author
- [ Offline](/forum/user/22899-neviqimka)

Less More

- Posts: 126
- Thank you received: 0
-
-

12 years 2 months ago -  12 years 2 months ago [\#169666](#169666) by [neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")  Replied by *[neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile")* on topic *[How to remove needless links from Xmap?](/forum/30-integrations/870433-how-to-remove-needless-links-from-xmap#169666 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.22  It's some duplicate pages, for example: site.com/hikashop/component&#95;category/my&#95;category.html and it's copy of site.com/hikashop/my&#95;category.html or site.com/hikashop/main&#95;category/component&#95;category/my&#95;subcategory.html this page have one module with product of subcategory, but it's part of site.com/hikashop/my&#95;category.html where I have on one page all modules with all sub categories of main category")*

I'm Sorry it's a different theme, I open the new theme here: [ www.hikashop.com/forum/integrations/8707...al-url-s.html#169751](http://www.hikashop.com/forum/integrations/870771-joomla-doesn-t-want-to-use-canonical-url-s.html#169751)

Last edit: 12 years 2 months ago by [neviqimka](/forum/user/22899-neviqimka "View neviqimka's Profile").

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

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