Search result does not have correct url path after new menu was created

Discuss Search Engine Optimization in relation to Joomla! 3.x. This forum will also have discussions on SEF/SEO Joomla! 3.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
littlewingz
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Oct 14, 2015 12:37 pm

Search result does not have correct url path after new menu was created

Post by littlewingz » Tue Jan 30, 2018 2:22 pm

Hi

I've been left and right, all over Google and different forums, and I can't seems to find a similar problem that describes the problem we're having.

Our website basically has 4 menus or "categories"
Menu_A: Home
Menu_B: Business
Menu_C: Telecom
Menu_D: EOL
- with sub-menus running off the 1st two menus only

The latter two were created to hold specific products, that was either moved from the 1st two menus or completely new.

The issue we are having is that when searching for a product, the url displayed in the results points to the wrong menu

Example, Product_A is listed under Menu_A, search results should display something like this:
www.mysite.com/Menu_A/Product_A

But ever since I've created Menu D, search results previously displaying as above has now changed to:
www.mysite.com/Menu_D/Product_A

I didn't move any products, but only created a new Menu from Joomla Menus

I'm not sure if this is a Joomla issue or a Hikashop issue as we use Hikashop to list all the products on our website.
If someone can point us in the right direction, all help is appreciated

User avatar
dmorell
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Wed Jul 16, 2014 9:56 pm

Re: Search result does not have correct url path after new menu was created

Post by dmorell » Wed Jan 31, 2018 3:20 pm

Hi littlewingz,

The first place I would check is the canonical tag. Check a product in Menu_A to see if it has a canonical link pointing to Menu_D.

You can find the canonical tag in the HTML <head>. I will look something like this.

Code: Select all

<link href="https://www.mysite.com/Menu_D/Product_A" rel="canonical">
If you see that you should probably check your Hikashop Configuration. Check to see if you have activated Force canonical URLs on listings. Try changing it to No, generate the URLs.

That is where I would start.

littlewingz
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Oct 14, 2015 12:37 pm

Re: Search result does not have correct url path after new menu was created

Post by littlewingz » Wed Feb 07, 2018 9:00 am

Hi dmorell

I've just tested something, not sure if this will point in a better direction.
We have a product listed under both Menu_A and Menu_B,
When you search for it, only the listing under Menu_B shows up on the search result and nothing from Menu A.
Under Hikashop products, what we've done is listed both menu under the categories since you shouldn't need to create 2 of the same product codes for both menus...

Canonical URLs were left blank by default for all products.


Locked

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 3.x”