ibrows / simple-seo-bundle
A Symfony2 Bundle to add some SEO functionality
Installs: 6 935
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- symfony/framework-bundle: !=2.3.9,~2.2
Suggests
- ibrows/simplecms-bundle: ~5.0
This package is auto-updated.
Last update: 2024-12-15 20:01:56 UTC
README
The IbrowsSimpleSeoBundle supports to add an for every route within additional path requirements and supports to add any metaTags to any path
Install & setup the bundle
-
Fetch the source code
$ php composer.phar require ibrows/simple-seo-bundle
Composer will install the bundle to your project's
ibrows/simple-seo-bundle
directory. -
Add the bundle to your
AppKernel
class// app/AppKernerl.php public function registerBundles() { $bundles = array( // ... new Ibrows\SimpleSeoBundle\IbrowsSimpleSeoBundle(), // ... ); // ... }
-
Add routing
// app/config/routing.yml SimpleSeoBundle: resource: . type: ibrows_router prefix: /
-
Generate Schema
php app/console doctrine:schema:update --force
Minimal configuration
This bundle requires Nothing !
Additional configuration
Edit default config
ibrows_simple_seo:
entity_class: Ibrows\SimpleSeoBundle\Entity\MetaTagContent
localized_alias: true
add_query_string: false
admin:
allow_create: true
alias:
maxLength: 100
separatorUnique: '-'
separator: /
notAllowedCharsPattern: '![^-a-z0-9_\/]+!'
sortOrder: { }