Setup SEO Configuration for a Website¶
This section guides you through the OroCommerce Storefront website-related system configuration options for search engine optimization (SEO).
You can control the way OroCommerce routes the HTTP requests to the components that service these requests. Some of these options may be configured only globally, on a system level, and some are applicable to the individual websites.
A sitemap is a file that explains the structure of your site to the search engines. Sitemap helps improve indexing the site contents by the search engine (e.g. by providing metrics like page priority, update frequency and content uniqueness).
OroCommerce automatically generates the sitemap files for every website based on the routing configuration (e.g. secure vs insecure website URL, direct vs system canonical URLs, page priority configuration, etc). Sitemap files for the default website are stored in the web/sitemaps/actual/ folder. To communicate the sitemap location to the external search engines, the sitemap files generated for the default website are mentioned in the robots.txt file in the OroCommerce root folder.
Only one sitemap may be included in the robots.txt file. To help search engines index the websites other than the default one, a webmaster can manually upload the automatically generated sitemap files using dedicated webmaster tools exposed by the search engine provider.
The frequency of the sitemap files generation (e.g. daily) depend on the system configuration.
You can launch the sitemap generation manually using the following command: