Code Monkey home page Code Monkey logo

codilar-open-graph's Introduction

Magento 2 Search Engine Optimization

Magento 2 Module to Improve Search Engine Optimization via OpenGraph on your Magento site.

Documentation

https://docs.google.com/document/d/1cKSsQaRbYkRvoehY1kWexUJB6IrmgWX2Q1qQk3h_e3I/edit?usp=sharing

Installation

Install the module via composer like so:

composer require ankith/open-graph-extension

For Magento 2.1.x use release 1.6.1

composer require ankith/open-graph-extension

Usage

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

By Adding:

  • 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/" />
      <meta property="og:image" content="http://example.com/pub/static/logo.svg" />
    • For Custom Routes/Pages

      <meta property="og:title" content="Contact" />
      <meta property="og:description" content="Contact Us for any issue you are facing" />
      <meta property="og:url" content="http://example.com/contact/" />
      <meta property="og:image" content="http://example.com/pub/static/logo.svg" />
    • 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"/>

Requirements

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

Test Cases

https://docs.google.com/spreadsheets/d/195jY4uHxhx19A4gZFmmm4-31g-1SZh3uThgrnCfXnxw/edit?usp=sharing

Support

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

Developer

Ankith G, and all other contributors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.