Javatpoint Logo
Javatpoint Logo

Search Engine Optimization in Magento 2

Magento 2 is one of the most friendly search engine system. It is an important component of running a web-based business and an essential form of marketing online. One of the concerns of Magento users is SEO (Search Engine Optimization). Although it is already SEO friendly when installed, there are several things, which can still be improved.

To make your Magneto e-store more visible to the potential buyers, the website admin needs to enhance the e-store ranking in search engine results. The customers will like your website if your site is easy to navigate, clean, accessible.

Magento allows to manage URLs, handle links, and create images that make it easy to use of SEO so that your website can be easily indexed in search engine. After installation and setting up your store, you can start optimizing your website for search engines from the web configuration menu.

There is some number of SEO tips with famous technical Magento issues that needed to be fixed immediately are enlisted below:

  • Duplicate content problem for multiple pages
  • Set up an XML sitemap in Magento 2
  • Non-optimized HTML sitemap
  • Optimize product images
  • Modify Robot.txt file
  • Speed up your Magento 2 e-commerce
  • Remove default store code from URL
  • Enable search-friendly URLs in Magento 2
  • Issues with the Magento 2 Default Title and Description
  • Get quality links to your store via different platforms
  • Add a Blog page to your Magento 2 store
  • How to add Meta Title and Description for a Product/Category and Content Pages

The steps given below will describe you how to set up SEO in Magento -

Step 1: Log in to the Admin Panel of Magento 2.

Step 2: Go to the Store menu on the left navigation bar and click on the Configuration option.

Search Engine Optimization in Magento 2

Step 3: On the left navigation bar, Go to General and click on the Web.

Search Engine Optimization in Magento 2

Step 4: Expand the URL Options section, and set the Add Store Code to URLs option to No, so that the store codes are not added to URLs.

Search Engine Optimization in Magento 2

Step 5: On the Search Engine Optimization panel, set Yes to Use Web Server Rewrites to generate more search friendly and readable URLs.

Search Engine Optimization in Magento 2

Step 6: Click on the Save Config button to save the changes.

Search Engine Optimization in Magento 2

Duplicate Content Problem for several pages

Duplicate content is one of the most common SEO issues that affects thousands of Magento owners. We can use the canonical tag to get rid of duplicate content.

Step 7: To avoid the duplications in URLs, go to System >> Configuration >> CATALOG >> Catalog. (Click on Catalog option under the Catalog section.)

Search Engine Optimization in Magento 2

Step 10: Expand the SEO (Search Engine Optimization) section.

  • Set NO to the Use Categories Path for Product URLs.
  • Set both the Canonical Link Meta Tag fields to Yes to prevent the Magento from generating duplicate content when you want to show the same product in multiple categories.
  • When all settings are complete, click on the Save Config button.
Search Engine Optimization in Magento 2

In Magento 2, duplicate content occurs due to followings:

  • Pagination
  • Product filtering
  • Product sorting
  • Same product in different categories
  • Variation of the same product

Step 8: Change the setting of default robots to set the default page title. Go to CONTENT >> Configuration on the left panel of Magento.

Search Engine Optimization in Magento 2

Step 9: On the Design Configuration panel, click on Edit link corresponding to your website.

Search Engine Optimization in Magento 2

Step 10: Scroll down and expand the HTML Head section under the Other settings.

  • Enter the title and description in the Default Title and Default Description for your pages.
Search Engine Optimization in Magento 2

Step 11: Expand the Search Engine Robots and do the following-

  • Change the Default Robots field to INDEX, FOLLOW option so that search engine can index your website and show it in search results.
Search Engine Optimization in Magento 2

Step 12: When done, click on the Save Config button.

Search Engine Optimization in Magento 2




Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA