2017 © Pedro Peláez
 

module seo

SEO module for Socialog

image

socialog/seo

SEO module for Socialog

  • Sunday, November 10, 2013
  • by Rovak
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SocialogSEO

SEO module for Socialog, (*1)

This module can be used without Socialog, it adds the following functions:, (*2)

Robots.txt

Adds a robots file on /robots.txt which can be configured using the module.config.php so you can easily have different robots.txt in your development or production environment, (*3)

return array(
    'socialog-seo' => array(
        'robots' => array(
            // Which user agents are allowed
            'user-agent' => '*',
            'disallow' => array(
                // The routes which should be blocked for search engines
            ),
        ),
        'content' => 'all',
    )
);

In a development environment you can tell search engines to ignore the website by configuring it as follows:, (*4)

return array(
    'socialog-seo' => array(
        'robots' => array(
            'disallow' => array( '/' )
        ),
    )
);

Humans.txt

For more information on humans.txt see humanstxt, (*5)

Add a humans.txt route which serves a humans.phtml view, (*6)

Redirection

Easy configuration of 301 redirects, (*7)

'socialog-seo' => array(
    'redirect' => array(
        '/post/17' => '/manage-assets-in-zend-framework-2',
        '/post/16' => '/using-bootstrap-in-his-own-scope'
    )
)

Or use the advanced configuration, (*8)

'socialog-seo' => array(
    'redirect' => array(
        '/post/17' => array (
            'url' => '/manage-assets-in-zend-framework-2',
            'code' => 301
        )
    ),
),

The Versions

10/11 2013

dev-master

9999999-dev http://www.socialog.io/

SEO module for Socialog

  Sources   Download

MIT

The Requires

 

seo socialog