While these settings are configured, you might need to generate your sitemap.xml file so it will actually be published on the site. Fortunately, that process is very straightforward. You can do this by: Navigating to Marketing > SEO & Search > Site Map Click the “Add Sitemap” button For “Filename” add the text “sitemap.xml” For “Path”, choose the URL path you want to be associated with your sitemap.xml file. This is generally at the “/pub/” URL path Click “Save & Generate” Setting up a sitemap.
xml on Magento. This should correctly set up your sitemap.xml on Magento. You’ll then want to be sure to submit your sitemap.xml file to Google Search Console so Google can discover your sitemap.xml file. 2. JavaScript rendering Something else that you’ll want to be mindful of on Magento sites is any content that is loaded through JavaScript. Magento frequently utilizes JavaScript to load key content on the store. While this isn’t inherently a negative thing for SEO, it is something you’ll want to be sure you’re reviewing.
If JavaScript is required to load key content on a page, this means that Google must russia gambling data perform a two-step indexing process where it processes the initial HTML, and then must return to the site to render any content loaded via JavaScript. Where SEOs need to check is in the second stage of the indexing process, to ensure that Google was able to “see” all of the content that is on the page. If any elements are loaded via JavaScript, it’s worth checking whether they’re indexed.
For instance, here’s an example of a product page in Magento where JavaScript is enabled in the browser. We can see thumbnail images, text in tabs, and a related products section at the bottom: JavaScript enabled on a product page for a clothing site. However, most of that content is reliant on JavaScript to load. When turning JavaScript off using the Web Developer extension for Chrome, most of those elements do not render. Notice how we can only see the initial three tabs on the page: Reduced elements on a page when JavaScript is turned off.
, we’ll want to ensure that it’s getting indexed properly. Fortunately, we can use tools such as The Mobile Friendly Testing Tool and The Rich Results Test to determine what Googlebot is able to render on the page. We also like to manually check the index by identifying content that’s loaded via JavaScript, and then using a “site:” search operator to verify that Google is able to read that text on the page.
Since JavaScript is required to load a lot of the content on the page
-
- Posts: 438
- Joined: Sat Dec 28, 2024 3:25 am