Request to Prevent Indexing and Generation of Certain Technical URLs in HikaShop

  • Posts: 223
  • Thank you received: 6
  • Hikashop Business
3 days ago #367472

-- HikaShop version -- : 5.1.6
-- Joomla version -- : 5.3.1
-- PHP version -- : 8.3.1

Hi HikaShop Team,

We are currently using HikaShop on our Joomla site and have encountered an issue with several types of URLs being generated and indexed by search engines, which causes SEO problems due to duplicate or non-relevant pages appearing in search results.

The problematic URL patterns include:

/product/download/
/product/contact/
/product/listing/
/product/waitlist/
/product/updatecart/

These URLs often appear under different category paths, resulting in duplicate content and cluttering the Google index with pages that do not provide meaningful value to users.

Additionally, it appears that categories and products can be accessed through multiple URL variants, for example:

/some-category/category/other-category
/some-category/category/manufacturer1
/some-category/product/some-product

In other words, it seems possible to view a category or product through any category alias, including categories designated as manufacturers. This causes URL duplication and makes it difficult to control which URLs should be indexed.

Could you please advise on the following:

Is there an official recommended way to prevent these URLs from being generated or crawled by search engines?

Are there settings or best practices in HikaShop to exclude these URLs from indexing (e.g., via robots.txt, meta tags, canonical URLs, or redirects)?

Any advice on how to handle these URL patterns to improve SEO and avoid duplicate content issues?
Thank you very much for your assistance!

Best regards,

Please Log in or Create an account to join the conversation.

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
2 days 14 hours ago #367473

Hi,

So there are two issues here:

- If you want to discard some URLs from being indexed by search engines, you can add them to your robots.txt
www.hikashop.com/forum/customers/893976-...-backend.html#289042

- Regarding the duplicate content issue, you want to set the "Force canonical URLs on listings" setting of the HikaShop configuration to "Use canonical URL and generate it if missing":
www.hikashop.com/support/documentation/5...ig.html#features_sef
This will automatically fill the canonical URL of your products, preventing this problem from happening.

Please Log in or Create an account to join the conversation.

  • Posts: 223
  • Thank you received: 6
  • Hikashop Business
2 days 10 hours ago #367477

Hello,

Thank you for your guidance regarding the use of canonical URLs.

We’ve tested the "Force canonical URLs on listings" setting, and while it helps prevent duplicate content, there’s a significant usability issue:

When this setting is enabled, the user’s breadcrumb trail is forcibly changed to match the canonical route, regardless of how the user navigated to the product.

For example:

A customer is browsing products within a specific category.

They click on a product from that category page.

If "Force canonical URLs" is disabled, the breadcrumbs show the correct path, and the user can easily navigate back to any point.

But if it's enabled, the breadcrumb path is replaced with the canonical route — not the one the user followed.

This leads to confusion:

The user cannot retrace their steps via breadcrumbs

They have to rely on the browser’s Back button instead

It breaks the intuitive flow of browsing products in a specific context

Would it be possible to preserve the original navigation path in breadcrumbs, even when canonical URLs are enforced?
Or perhaps offer a mode that sets canonical URLs for SEO without rewriting the actual route used in navigation?

Thanks in advance for considering this improvement.

best regards

Please Log in or Create an account to join the conversation.

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
2 days 6 hours ago #367478

Hi,

Note that I offered this solution as a quick method to solve the duplicate content issue you have as it will automatically fill the canonical URLs of your products.

But, you can fix the duplicate content issue while keeping the "Force canonical URLs on listings" setting disabled.
In that case, you just want to fill the "canonical URL" field of each product with the main URL, which you want to be indexed by search engines.
Now, that means that you need to go into every product to set the canonical URL.

So, I can propose a third alternative:
Activate the setting, and browse your shop listings on the frontend until all the canonical URLs are filled.
Once done, turn off the setting.
Your products will have canonical URLs and the breacrumbs will still work as before.

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum