Skip to content

occitech/Occitech_Seo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Occitech SEO

Magento module gathering good SEO practices.

What does it do?

Installation

Composer

Add this repository to your composer.json:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/occitech/Occitech_Seo.git"
        }
    ]
}

then composer require occitech/seo

Download an archive from this repository, place it in a .modman directory at the root of your Magento project, then modman deploy

Old fashioned

Download an archive from this repository, then move the folder to the correct destination in your Magento project.

Post-installation

For now some template have to be modified.

page/1column.phtml, page/2columns-left.phtml, page/2columns-right.phtml, page/3columns.phtml

The <head> tag should look like this:

<head <?php echo Mage::helper('occitech_seo')->webSiteElementRoot(); ?>>

The <body> tag should look like this:

<body […] <?php echo Mage::helper('occitech_seo')->webPageElementRoot() ?>>

The <div> or whatever tag surround <?php echo $this->getChildHtml('content') ?> should look like this:

<div […] <?php echo Mage::helper('occitech_seo')->itemprop('mainContentOfPage') ?>>

catalog/product/list.phtml

For both grid and list mode, insert this code after the closing list item </li> tag (it should be right before a <?php endforeach ?>:

<?php 
    echo $this->getLayout()
        ->createBlock('occitech_seo/product', 'microdata', array('product' => $_product))
        ->toHtml();
?>

Licence

MIT Licence

About

Magento module gathering good SEO practices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •