Search engines and social networks show richer results when a page describes itself in a structured way: product prices, availability, ratings, brand and GTIN in search results, or a proper preview image and title when a page is shared. This module adds this structured information to the store, keeps page titles and meta descriptions within recommended lengths, and adds a few further search engine optimizations.
Features
- Rich snippets (schema.org) for the website, optionally with a search box for search results (“Search Action”).
- Organization data such as business type, address, opening hours, accepted currencies and payment methods, price range and links to social profiles (“Same As”).
- Product data on product pages: name, SKU, image, price offers with availability (with price ranges for products with several variants), ratings and reviews.
- Product properties taken from attributes of your choice, each with a backup attribute: brand, color, description, depth, height, width, weight, manufacturer, material, model, GTIN (also GTIN-8, -12, -13, -14) and MPN.
- Open Graph tags for sharing on social networks, a Facebook app ID and Twitter Card tags.
- Canonical link for the home page and for CMS pages to avoid duplicate content.
- Page titles and meta descriptions are shortened to a configurable maximum length (default 70 and 150 characters).
- Product images are additionally marked up for search engines on product pages.
- Adds page titles and product rating information to the entries of the Infrangible “Sitemap”.
Configuration
All settings are under Stores > Configuration > Infrangible Solutions > Search Engine Optimizations and can be set per website and store view:
- “Page”: maximum lengths of title and description, canonical links for the home page and CMS pages.
- “Rich Snippets”: switch website, organization and product data on or off, enter the organization details, and choose which product attributes provide brand, color, GTIN and the other properties.
- “Open Graph”, “Facebook” and “Twitter Card”: enable the tags and enter the Facebook app ID and the Twitter user name.
- “Sitemap”: add titles and review information to the sitemap entries.
Good to know
The sitemap additions apply to the sitemap generated by the Infrangible “Sitemap” module, which is installed automatically.
Installation
Install the module with Composer in your Magento root directory:
composer require infrangible/m2-catalog-seoThen enable it and update the store as described in the installation guide. Composer installs the required modules listed on this page automatically.