Do you have plugins that can affect the work of the sitemap? If you have, try turning them off. If you don`t know, disable all third-party plugins. Maybe the problem with it.
Hi Maria, I got a reply in the google forum, someone mentioned the below about my sitemap. I see several <url></url> tags where <loc> is empty, no url is specified I wonder if that can be a problem for Google
Or if it won`t help, try to upgrade to a newer nopCommerce version that supports your plugins (e.g., 4.10)
Hi Maria, i find the issue in sitemap when i search for : <loc /> There are 29 such entries. These are not proper. Idk how these got there and how to remove them :/ what do i do ?
Please clarify, are you able to upgrade your store at least to 4.10? Maybe 4.10 supports your plugins.
Hi Maria, It is a risky decision to shift to 4.10 at this moment. There have been some customizations done to my theme and plugins. I would want to remain with the existing version for now, but i will slowly attempt trying to make a test site copy of my website and then upgrade everything there. The people at google forums were also eager to know how nopcommerce handles this, for now i think the only option for me to fix this issue is via upgrade. If things work out i will definitely let you know.
Is there really no other way to make nopcommerce rebuild my sitemap ?
Hi Maria, Just posting here for reference of others.
I have fixed 28/29 of this empty loc tag issue.
The problem was not with the urlrecord table. The problem was with the product table. There were some products without sku. When i deleted those products from the product table the issue went.
However i still have 1 more of the same error pending, unable to find it yet. Similar to the sku column, what other columns or tables does nopcommerce use when generating the sitemap ?