Jump to content

Google Sitemap (PS module) not exporting the correct URLs


Recommended Posts

Hi there,

I am using the latest PS Google Sitmap module with PS v. 1.7.4.2 and so far it worked pretty well.
A few days ago I changed the option "redirect to the canonical url" to the option "301 moved permanently". (Configure > Shop Parameters > Traffic & SEO).
One day later I get heaps of URLs on Google Search Concole that are not found anymore.

The xml file is automatically generated every day.
The strange thing about it, it contains URLs that are not fully correct.
Example: this is the URL in the XML file https://merkado.ch/schweizer-lebensmittel/weine-spirituosen/20-kirsch-likoer-hof-marcht-hotzenhof.html
Opening this URL in the browser autom. redirects to https://merkado.ch/schweizer-lebensmittel/weine-spirituosen/20-26-kirsch-likoer-hof-marcht-hotzenhof.html which is the correct URL.

Why the heck is the Google Sitemap module not exporting the correct URL?
This behaviour explains the missing/not index URLs on Google Search Console.

Does anyone have an explanaition or even a solution? Did anyone experience the same issues?

Any help will be very much appreciated.

Cheers, Olivier

Share this post


Link to post
Share on other sites

Hi Oliver,

Google Sitemap Module creates the link to the general product without attribute. When opening the link Prestashop redirects it to the default combination/attributes, thats why the link is changing - the attribute is included in the link. For me this seems to be correct behaviour - I'm more wondering why Google reports them as not found as they get correctly redirected in the browser.

Share this post


Link to post
Share on other sites

Thanks a lot @JBW for your feedback.
Alright, I understand. You're right, the URL gets properly redirected in the browser.
So in that case the XML export might be correct.

Then the question is why is Google handling that XML sitemap by not indexing it.

Do you think it could be connected while changing the setting of "redirect to the canonical url" ?
The change was made on 26th Feb in the evening. 27th Feb appears a massive increase of excluded URLs.


Maybe you or someone else can see something on those screens.

image.thumb.png.5eb3a76fff42e002fcfc0456d17196f1.png

 

Just an example of one URL:

image.thumb.png.f64b3886299b8765d2605d01367cf647.png

image.thumb.png.020c213b2e48fe427a64691307950a93.png

 

When I use the button "live testing" on the Search Console the product is found.
There are also found quite some errors. I have some doubts that this might be conected to the robots.txt file as there quite a lot of folders and files are disallowed for crawling. I haven't change it so I am using the standard Prestashop robots.txt file.

image.thumb.png.cd32c973117fddd2bf54136143a3ac84.png

Share this post


Link to post
Share on other sites

What is shown it the error section "Products"? Coverage and Availablity is ticked green, so why do you think there are issues?

Share this post


Link to post
Share on other sites

The point is that from one day to the other the excluded URLs went up from only 2 to 85, which is extremely bad for my visibility on Google.
It happend just after I have changed the the setting of "redirect to the canonical url" in Prestashop.
This might be just a coincidence but I do not believe that.

I just checked the XML in one of my backups befire the 27th Feb and the URLs in the XML look the same.
This means to me that the Google Sitemap module works well.

Mostly there are only warnings so that shoudln't cause these kind of issues I suppose...

image.png.99b2bf11cd0e80da48f47f43a6dcbea9.png

 

I do not understand the two mentioned errors as there is no rating for the product.
However, all the other excluded URLs (products) do only have warnings...

image.png.da58026fa637af66a46d875571aac22c.png

 

So do you think the other errors from the last screen of my previous post are not causing any issues?

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More