Strange URL problems

  • Posts: 29
  • Thank you received: 1
10 years 3 months ago #204442

-- url of the page with the problem -- : www.market.roojai.com/index.php/shop-now/product/1-new-product
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.1

If you see the URL of one of my sample products:
www.market.roojai.com/index.php/shop-now/product/1-new-product

There are two problems:
1) "index.php" is included although the site is set up with URL re-writing that works on other pages ok.

2) "/shop-now/" is included. This is an alias from my menu. But if I change the menu alias to "shop" then I can no longer get the product to show. The system is still looking for the URL with "index.php/shop-now".

Its hard to explain so please see the video:

youtu.be/t2FdFTIhslE

Before I set the menu alias for the default category as "shop-now", so it must be stored in the system somewhere. I am just not sure why I cannot change it without faults.

EDITED to say this is nothing to do with upgrade to 2.5.0 as I just tested that on another development site.

Last edit: 10 years 3 months ago by roojai.

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

  • Posts: 29
  • Thank you received: 1
10 years 3 months ago #204464

FYI I have resolved this by reverting to a backup taken yesterday.

I carried out the same steps in development and I have not had this problem repeat yet.

Strange one! At least I have the video as evidence ;)

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

  • Posts: 84304
  • Thank you received: 13699
  • MODERATOR
10 years 3 months ago #204465

Hi,

Your issue seemed to be coming from the canonical urls. And you could have checked your settings under Configuration > Features > SEF url options, then if the option for canonical urls was set on "Use canonical and generate it if not specified", when the menu alias was set on "shop-now", if you had traveled through the product pages, it would have generated a canonical url.

So two options, you change the canonical url setting to not use the canonical urls, or you change them in the product pages.

An easier solution could be to let the option to generate them if missing, and via our mass actions (System > Mass actions) create a product mass action to clear the value of the canonical url column. This way the canonical urls will be re-generated with the new alias.

But since it's fixed for you already, even better !

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

Time to create page: 0.043 seconds
Powered by Kunena Forum