projects / org / ezproject2010 / ezurlmapper
Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
ezurlmapper | Jérôme Renard | stable |
Version | Compatible with |
---|---|
1.0 | 4> |
This extension partially solves the following use case :
You work on a migration project.
The project is a migration from a site powered by product X and it will now be powered by eZ Publish.
You will have to keep former URLs for the sake of SEO so for each old URL you will have to send a 301 HTTP header and redirect to the new correct one.
Doing this with eZ Publish is not efficient enough as it will not support load during roll-out phases this is why this extension allows you to generate apache rewrite rules so Apache will do the redirect directly which is more efficient
This extension is delivered with a sample example.
You can test it with the following 2 commands :
php extension/ezurlmapper/bin/php/create_url_redirections.php -s <siteaccess> --only-for-ez
will create URL Wildcards in eZ Publish
php extension/ezurlmapper/bin/php/create_url_redirections.php -s <siteaccess> --only-for-apache
will generate Apache Rewrite Rules you can copy / paste in your Virtual Host
Authors :
Jérôme Renard / Nicolas Pastorino
Version 1.0 available for download
Thursday 18 December 2008 00:19
Jérôme Renard