Existing non sef url

  • Posts: 329
  • Thank you received: 18
  • Hikashop Business
4 years 11 months ago #317377

-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.16

I have all menu items set, but one url keep showing. You can see at your demo site to
demo.hikashop.com/index.php/en/component...shop/product/listing

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 11 months ago #317383

Hi,

We'll need more information to be able to help you.
I don't see what is the problem with that URL ?
And that URL is SEFed contrary to what you said.
The non SEF equivalent URL of that page would be demo.hikashop.com/index.php?option=com_h...product&task=listing and you should be able to access that same URL on your website too since that's the URL calling the controller/task responsible for displaying a listing of products. But since you don't specify the Itemid parameter in the URL, the listing has no settings to base itself on.

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

  • Posts: 329
  • Thank you received: 18
  • Hikashop Business
4 years 11 months ago #317397

Ok, you are right. It is sef but not right alias.
My problem? It is url with no sense and as you can see on your demo, is pointing to nothing.
This url should not exist if I have menu item pointing to product listing. There is menu item for categories listing to.
For example, domain.com/shop is product listing menu item.
As you can see on your demo site, this url is not supose to be there. Can you make it to point to some reasonable alias? I gues no?

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 11 months ago #317402

Hi,

Well, yes and no.
First, the fact that this page doesn't display any content is just a matter of configuration. If you set the "sub element filter" setting of the HikaShop configuration to "all sub elements" you will see a listing of all your products there.
Second, if you configure the "canonical URL" setting of your main category to point elsewhere on your website (like for example the main menu of your shop), then search engines that would end up on that page would not index it and so no one will access that page even though it's there and working.
But is that a problem ?
For example, on your website, you have that link too :
demo.hikashop.com/index.php/en/component/finder/search
That's the "smart search" page. You'll be able to access that page even if you don't have the smart search system configured and can't search anything with it. But as long as you don't add a menu item pointing to it, then no one will access it.
And you have tens of other pages like that on a Joomla website, wether you have HikaShop or not. For example, another one:
demo.hikashop.com/index.php/en/component/wrapper
The point I'm trying to make here is that it's not an issue in HikaShop. It's how the Joomla URL routing system is made which allows you to access these pages even though they do nothing.

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

Time to create page: 0.064 seconds
Powered by Kunena Forum