Skip to main content

subscription listing SEF issue

4 years 3 months ago #343605 by dyvel
-- 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.

4 years 3 months ago #343606 by Jerome
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.

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

4 years 3 months ago #343631 by dyvel
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.

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

4 years 3 months ago #343649 by Jerome
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.

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

4 years 3 months ago #343652 by Jerome
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.

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

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