If you want to improve webstore SEO and help search engines to understand your business, you need a clear sitemap. This article will give you a step-by-step instruction on creating a sitemap on PrestaShop 8. In addition, we put advice on connecting it to Google Search Console.
Take your time and get ready to optimize your online business.
How to Create a Sitemap in PrestaShop 8
Search engines use a sitemap to swiftly index your webstore. It’s basically an XML file that contains all the pages and products located at the site. When coming across this file, search engines use the list to effiсiently index each piece of content on the online store. Thus, product and specific pages are shown in the search results when a user googles something.
To create a sitemap in PrestaShop 8, you need to install and configure a special module. Using it, you can build a map of your online store and update it when needed.
We recommend searching for such addons on the official marketplace. There are around 40 variants, starting from a free-to-download and ending with SEO Pack Premium costing $600.
To illustrate the sitemap creation process, we’ll use the basic Google sitemap Module by PrestaShop that can be downloaded for free from the marketplace. After you install the chosen module, make sure that the folder name matches its name. In our case, it is gsitemap.
Now, let’s move directly into the creation process.
The first step you need to follow is opening the admin panel and proceed to Improve -> Modules -> Module Manager -> tab Modules and type the keyword gsitemap into the search bar:
As you can see, the configuration page has several settings:
On this stage, you should choose and mark those categories that won’t be included into the sitemap. We recommend you to exclude:
- autorisation page
- shopping cart
- personal page
- order history
- pages with the same information displayed for each visitor at the same address
- service pages like 404.
After you’ve marked all the needed checkboxes, you can proceed to generating the file. Click on the Generation Sitemap and you’ll see the sitemap address. It will be something similar to https://your_personal_site.site/1_index_sitemap.xml. You should save this URL into your Google Search Console account and robots.txt. The module will also show you the file size and the number of indexed pages.
We advise you to regularly update this file so that the search engines could make its full indexation. If you don’t want to permanently press Update the sitemap file button, you should proceed to the page with the cron link. Since you create a cron task using the up-mentioned URL, the server will update the sitemap by itself. And it won’t bother you anymore.
In case you don’t know what a cron task is, you should consult your hosting provider for the details.
Take your online store to the next level with BelVG PrestaShop DevelopmentVisit the page
How to Add the Sitemap to Google Search Console
Following the above guide, you’ve generated the sitemap files. What’s the next step? You need to add the sitemap file to Google Search Console to inform the engine about your website. We’ve worked out a simple guide for you to follow and succeed with the aim.
Step 1. First of all, you should sign in to the Google Search Console. We use the URL prefix, just entering the site URL and clicking on the Continue button.
Step 2. You should download the HTML file and add it to your website. With the help of the FTP-manager, you can use, for example, the file manager in your hoster-panel. You need to add this html-file into your site’s root directory.
If you click on the Verify button, you’ll get the following message:
Step 3. Log in your Google Search Console account and select the Sitemaps tab.
Step 4. As we’ve already generated sitemap files using the PrestaShop module, we can move directly to the admin panel of the site and check it.
Step 5. Finally, we’re ready to add sitemaps URLs in Google Search Console.
In case everything was performed well, you will get the following result.
Wrapping it up
Congratulations! Now, Google can see and index your webstore much better.
If you have any questions on this topic, or something went wrong while you were following the instructions, feel free to leave comments below. We’re here to help you.