subscription listing SEF issue

  • Posts: 88
  • Thank you received: 19
2 years 3 months ago #343605

-- HikaShop version -- : 4.6.1
-- HikaSerial version -- : 4.0.1
-- Joomla version -- : 4.1.0
-- PHP version -- : 8.0
-- Error-message(debug-mod must be tuned on) -- : 404

Hi

When creating a menu link to Hikaserial subscription listing, I get a 404 in the frontend.
I created the link with the alias: sub-listing, but the SEF url leads to: sub-listing/subscription/listing
If I remove /subscription/listing then the view works.

Looks like an issue with the routing of the view.

The non SEF URL is: index.php?option=com_hikaserial&view=subscription&layout=listing

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
2 years 3 months ago #343606

Hello,

You should have an "ItemId" in your URL, for the Joomla menu you're using.
Without that ItemId, the Joomla router will be lost and the HIkaSerial specific router won't be able to clean the URL with extra elements.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 88
  • Thank you received: 19
2 years 3 months ago #343631

Maybe I didn't explain well enough. The non SEF URL was just the link you see in the backend. It was just for reference so you would know what view was causing the issue. There are no ItemId in the SEF URLs.

The point is, I have created a menu item link to Hikaserial subscription listing - but when I do, the URL gets redirected from /sub-listing to /sub-listing/subscription/listing and this creates a 404.

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
2 years 3 months ago #343649

Hello,

Thank you for the screenshot, we will reproduce your setting in a test website.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
2 years 3 months ago #343652

Hello,

We reproduced the issue and worked on some improvements which will be added in the coming release.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.059 seconds
Powered by Kunena Forum