staempfli/magento2-module-seo 1.7.3

Magento 2 Seo Module

Type

magento2-module

License

OSL-3.0, AFL-3.0

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Magento 2 Search Engine Optimization

Codacy Badge Build Status Maintainability Test Coverage

Magento 2 Module to Improve Search Engine Optimization (SEO) on your Magento site.

Installation

Install the module via composer like so:

composer require staempfli/magento2-module-seo

For Magento 2.1.x use release 1.6.1

composer require staempfli/magento2-module-seo:1.6.1

Usage

The Module will automatically optimize and improve the performance of your Magento-based store in Search Engines.

By Adding:

  • TwitterCards

    • For CMS Pages

      <meta name="twitter:title" content="Home page" />
      <meta name="twitter:description" content="CMS homepage content goes here." />
      <meta name="twitter:url" content="http://example.com/" />
      <meta name="twitter:card" content="summary" />
      <meta name="twitter:site" content="@StaempfliWeb" />
      <meta name="twitter:creator" content="@mhauri" />
      
    • For Categories

      <meta name="twitter:title" content="Demo Category" />
      <meta name="twitter:url" content="http://example.com/demo-category.html" />
      <meta name="twitter:description" content="This is a Demo Category" />
      <meta name="twitter:image" content="http://example.com/media/catalog/category/demo.png" />
      <meta name="twitter:card" content="summary" />
      <meta name="twitter:site" content="@StaempfliWeb" />
      <meta name="twitter:creator" content="@mhauri" />
      
    • For Products

      <meta name="twitter:title" content="Demo Product" />
      <meta name="twitter:description" content="Demo Product Short Description" />
      <meta name="twitter:image" content="http://example.com/media/catalog/product/cache/0f831c1845fc143d00d6d1ebc49f446a/o/p/demo.png" />
      <meta name="twitter:url" content="http://example.com/demo-product.html" />
      <meta name="twitter:card" content="summary" />
      <meta name="twitter:site" content="@StaempfliWeb" />
      <meta name="twitter:creator" content="@mhauri" />
      
  • Structured Data

    • For CMS Pages

      <meta property="og:title" content="Home page" />
      <meta property="og:description" content="CMS homepage content goes here." />
      <meta property="og:url" content="http://example.com/" />
      
    • For Categories

      <meta property="og:title" content="Demo Category" />
      <meta property="og:url" content="http://example.com/demo-category.html" />
      <meta property="og:description" content="This is a Demo Category" />
      <meta property="og:image" content="http://example.com/media/catalog/category/demo.png" />
      
    • For Products

      <meta property="og:title" content="Demo Product" />
      <meta property="og:description" content="Demo Product Short Description" />
      <meta property="og:image" content="http://example.com/media/catalog/product/cache/0f831c1845fc143d00d6d1ebc49f446a/o/p/demo.png" />
      <meta property="og:url" content="http://example.com/demo-product.html" />
      <meta property="og:type" content="og:product" />
      <meta property="product:price:amount" content="125.5" />
      <meta property="product:price:currency" content="CHF"/>
      
  • Language annotations

    <link rel="alternate" hreflang="fr" href="http://example.com/fr/content-pages/demo.html" />
    <link rel="alternate" hreflang="en" href="http://example.com/en/content-pages/demo.html" />
    

Webmaster Tools

Allowing you to set the verification code in the backend for:

  • Google Webmaster Tools
  • Bing Webmaster Tools
  • Pinterest
  • Yandex webmaster Tools

Search Engine Optimization

<meta name="google-site-verification" content="YOUR_GOOGLE_VERIFICATION_CODE" />
<meta name="msvalidate.01" content="YOUR_BING_VERIFICATION_CODE" />
<meta name="p:domain_verify" content="YOUR_PINTEREST_VERIFICATION_CODE" />
<meta name="yandex-verification" content="YOUR_YANDEX_VERIFICATION_CODE" />

Robots (robots.txt)

See: Robots Configuration

Requirements

  • PHP: > 7.0
  • Magento 2.2.x | 2.3.x

Support

If you have any issues with this extension, open an issue on GitHub.

Contribution

Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.

Developer

Marcel Hauri, and all other contributors

License

Open Software License ("OSL") v. 3.0

Copyright

(c) 2017, Stämpfli AG