kitpages/redirect-bundle

Redirection 301 system for symfony2.

v2.1.0BETA4 2012-10-11 14:52 UTC

This package is auto-updated.

Last update: 2024-12-04 20:14:35 UTC


README

This is a redirect system for symfony2.

You register a list of sourceUrl and destinationUrl. if the URL requested by a navigator is in sourceUrl, you are redirected (301 redirection) to the destinationUrl.

There is a very basic interface to record list of urls. It is directly generated by the symfony2 genrator.

author : Philippe Le Van (@plv)

Current state of the project

Usable, but not documented and it miss a big cleaning of auto generated symfony2 files...

Installation

hum... as usual...

put the code in vendors/Kitpages/RedirectBundle

add vendors/ in the app/autoload.php

add the new Bundle in app/appKernel.php

You need to create a table in the database : ./app/console doctrine:schema:update

Users Guide

TODO :