SEF generate pages

  • Posts: 72
  • Thank you received: 0
10 years 5 months ago #196198

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.12

Dear Sir
I am working to correct all products and categories pages and URL, however, I noticed that SEF is generating pages for the system which not supposed to generate
for example, and for the following product page,

Part of the message is hidden for the guests. Please log in or register to see it.

it shows the correct product page, however, if I remove the word product from the URL

Part of the message is hidden for the guests. Please log in or register to see it.

its shows something related to order status
I go through most of those links, (without product in URL) and it shows strange things like sport subscriptions, categories, donations, ....
Please advise

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 5 months ago #196219

Hi,

If you remove the "product" from these URLs, then the system is displaying a categories listing and uses the id after the last / as the id of the current category.
The category with the id 9 in your database is actually an order status category.
Turn on the "remove category and product ids from URLs" option of the HikaShop configuration and you'll see that if you remove the product from the new SEF URLs, you won't get that behavior as the alias after the last / won't match any category alias.

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

  • Posts: 72
  • Thank you received: 0
10 years 5 months ago #196263

Hi
thanks for the response but even if I did that why hikashop generate such URLs, its not good for google indexing, it will show too many pages
also, does not this affect security issues as well?
please advise

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 5 months ago #196292

Hi,

HikaShop doesn't generate such URLs. You're the one who created the URL out of another one and HikaShop displays what it can.
Google won't index that page since HikaShop doesn't generate these links so it doesn't change anything for SEO.
It doesn't affect security either since HikaShop is only displaying categories and products which are published. If you unpublish them, HikaShop won't display them.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum