Magento SEO: The Guide To Optimising Magento Websites

Ready to rank your Brand?

Magento SEO: The Guide To Optimising Magento Websites

optimising-magento-websites-feature

Magento has become a leading eCommerce platform. To get the best out of your Magento website you will have to apply the SEO best practices rather than use the default settings.

You should keep your Magento store in top shape that is all set to give the maximum SEO performance.

To optimise your Magento store you can consult Magento SEO agency. These are the points to consider while building a strong technical foundation for your Magento website:

1. Use SEO-friendly URLs as they are easy to understand for the users as well as the search engines. URLs should be descriptive, easy to read, brief, consistent and use lowercase. For this, you can go to the ‘Use Web Server Rewrites’ section, by default it is set to ‘Yes’. Keep it that way to create readable URLs.

url structure



2. By default, Magento adds the ‘.html’ extension to all the URLs. It is important to remove these because they can cause an issue if you want to switch to another eCommerce platform.

3. If you have categories and subcategories then URLs will become long. In Magento, the category paths for URLs are set to ‘No’. This will ensure that the URLs are short.

4. The page titles and the meta descriptions can impact your ranking in the SERPs and click-through rate. If you cannot define them for every page manually then you should use smart defaults. The title should be easy to read and contain the target keyword. The same goes for meta descriptions.

For meta descriptions, you can use extensions such as Meta Tags Templates by Amasty or SEO Meta Templates by MageWorx.

5. The heading structure should be used correctly. It should help the search engine understand the structure and the topic and the readers should be able to quickly scan a page.

The H1 heading should include meaningful text and you should use only one H1 heading per page. The heading structure should be built using a logical hierarchy.

SEO AspectDescriptionRecommendations
Crawling & IndexingManaging how search engines discover and index site content.- Address duplicate content from faceted navigation.- Implement self-referential canonical tags for product and category pages.- Ensure internal search pages are not indexed.- Configure robots.txt to control crawler access.- Generate and submit an XML sitemap.
JavaScript RenderingEnsuring content loaded via JavaScript is accessible to search engines.- Audit JavaScript to confirm critical content is crawlable.- Use server-side rendering or dynamic rendering if necessary.
URL StructureCreating user-friendly and SEO-friendly URLs.- Use descriptive, concise, and lowercase URLs.- Avoid including session IDs in URLs.
Meta InformationOptimizing meta titles and descriptions for relevance and click-through rates.- Craft unique, descriptive meta titles and descriptions for each page.- Include primary keywords naturally.
HeadingsStructuring content with appropriate heading tags.- Use one <h1> tag per page for the main title.- Utilize <h2> and <h3> tags for subheadings to organize content hierarchically.
Site SpeedEnhancing page load times for better user experience and rankings.- Optimize images and leverage browser caching.- Minify CSS, JavaScript, and HTML files.- Consider using a Content Delivery Network (CDN).
Mobile ResponsivenessEnsuring the site functions well on mobile devices.- Implement responsive design principles.- Test mobile usability using tools like Google's Mobile-Friendly Test.
Structured DataProviding search engines with explicit clues about page content.- Implement schema markup for products, reviews, and breadcrumbs.- Use Google's Structured Data Testing Tool to validate.
Duplicate ContentPreventing identical or similar content from appearing on multiple URLs.- Set up canonical tags to indicate the preferred version of a page.- Use 301 redirects for deprecated URLs.
Content QualityDelivering valuable and relevant information to users.- Create original, informative, and engaging content.- Regularly update and expand product descriptions and blog posts.

Magento website: Crawling and Indexing

You should configure your Magento website to make it easy for the search engines to crawl and index it. These are the points to consider:

 Magento does not add canonical tags for the homepage and CMS pages. This leaves you at risk of having duplicate content. For this, you can either adjust the template to always include the canonical URLs in the homepages and the CMS pages or manually define them for both.

For the product and category pages, you should set the default option to ‘Yes’ for use of canonical tags. When the setting is turned off the product will be available through the product URL as well as the category URL. This will lead to the individual pages competing.

In Magento, all the paginated URLs in a series have a canonical tag that points to the root category page. This is not right from an SEO standpoint and the canonical tags should be used for duplicate content only. Paginated content is not a duplicate of the root content so they should not have any canonical tags. Instead, they should have self-referential canonical tags because they contain unique content that needs to be crawled.

 The ‘Robots.txt’ file is used to tell the search engine how many pages of your Magento website have to be crawled. You can use this file to block the crawling of low-value pages and allow the crawling of high-value pages. You should block all the internal search result pages, login pages and user’s shopping carts.

robots.txt

In Magento by default the internal search result pages and the URLs with query parameters are indexable. This is bad from the SEO standpoint so you should block these from being indexed.

Faceted navigation allows the users to search through the products. If your Magento store uses this then you need to take steps to control the crawl as the number of pages the faceted navigation can create can be huge. For this, you will have to block all low-value pages from being indexed and allow only pages with a high search potential to be indexed.

 An XML sitemap is used to tell the search engine which pages have to be crawled and indexed. You should keep your sitemap up-to-date with your website’s content and include only indexable pages. Magento has the ability to create the XML sitemap. Submit your sitemap to Google Search Console so that Google can discover it.

xml sitemap

You should not list more than 50,000 URLs in a single sitemap. The size of the XML sitemap file should not be more than 50 MB. You should refer to your XML sitemap in your ’Robots.txt’ file.

 An HTML sitemap helps search engines and users to find important pages. For Magento stores, you can set up HTML sitemaps for the most important categories, subcategories and most popular products.

Unlike Magento 1, Magento 2 does not have the feature to create HTML sitemaps. You can create one using a plugin or build one yourself. You can use Amasty’s SEO Toolkit extension to generate HTML sitemaps.

 Magento uses JavaSCript to load the key content of your store. This will not affect your SEO but you should still review it. When content is loaded using JavaScript Google performs a two-step indexing process.

You should ensure that in the second step Google sees all the content on the page. It is better to check that the content that is loaded using JavaScript is indexed. Use tools like The Mobile Friendly Testing Tool or The Rich Results Test to check what Google is able to render.

Magento website: Speed

1. One of the most important requirements to run your Magento store successfully is a Magento-optimised hosting platform. You will have to configure your Magento platform as well as the hosting correctly.

The hosting platform should be optimised for Magento, support Redis and Varnish, run on Nginx and be CDN compatible.

2. You should optimise all your images using image compression tools and web image formats and apply lazy-loading to images.