Sync Errors

Richard J. shared this question 20 days ago
Answered

We have a bunch of 404's from something that's happening during sync when a product is updated.

The url's are doubling up and then they're being crawled by Google. See attached example

Comments (2)

photo
1

Any update on this?

photo
1

This one is not coming from the sync. The doubled URLs come from four links in the site's header menu that are missing the leading slash, so the Google reads them as relative to whatever page they are on. Every page then produces its own /current-page/rentals/... address, which does not exist, and that is what Search Console is reporting.

The four links are in the Custom HTML blocks of the Max Mega Menu, under Marquee Hire and Event & Furniture Hire:

  • rentals/3mtr-structure-marquee-hire/
  • rentals/6mtr-pagoda-marquee-hire/
  • rentals/exhibition-display-hire/silver-tensa-barrier-retractable-queue-barrier/
  • rentals/crockery-hire-brisbane/tea-cup-saucer-set-pack-12/

We do not host your website, and this error is coming from custom code you've added to the menu. To fix it:

  1. In wp-admin go to Appearance > Menus, open the Mega Menu settings on Marquee Hire and on Event & Furniture Hire, and edit the Custom HTML block in each.
  2. Add a / in front of each of the four links, so they read href="/rentals/...".
  3. In Google Search Console, open the Not found (404) report and press Validate fix. The doubled addresses drop off as Google recrawls.

The pages those links point to all load correctly once the slash is there, and no sync is needed.

photo
1

Awesome! Thank you so much for identifying that.

photo
Leave a Comment
 
Attach a file