Issue with woodmart and ajax loading categories and sub-cateogories
-
Hello, there is a problem with my website in the WooCommerce and Woodmart. On every category and sub-category of the shop, a meta description, meta title, and canonical tag are set through the Rank Math plugin. The problem is that apparently the theme is causing an issue, and the meta descriptions and meta titles are not being applied, plus a different canonical tag appears, so the pages are not being indexed. However, after a refresh, everything fixes itself. I am sending you a video.
https://streamable.com/vvz0au
When I disable the theme, this problem does not occur. I assume it has to do with the AJAX loading of the categories.
I used the Detailed add-on for Chrome/Mozilla for checking in the video.
Hello,
During SEO scanning, search engines (such as Googlebot) do not perform mouse clicks or execute JavaScript actions that are triggered by a click. Instead, they analyze the HTML code of the page and follow standard links defined in the href attribute.
This means that a category page will fully open (not via AJAX), and the bot will see the correct meta data (title, description, canonical) set via the SEO plugin.
If you want, you can disable the AJAX Shop option in Theme Settings -> Product archive: https://gyazo.com/499392fd8b190b9e21366ed4ca2236b3
Kind Regards