We had the need to give the ability to handle simple redirects to one of our clients so we put together Vapor.

http://github.com/saturnflyer/radiant-vapor-extension/tree/master

Vapor allows admins to input a unique "Catch URL" and send it to a "Redirect URL". With Vapor, you may set the status of the redirect to 307, 301, or 200 and you may also redirect to another website.

Vapor will cache your redirect information from the database in a class variable to prevent unnecessary access to the database for visitor requests.

We have it working in production for one client (and may use it for another soon) and have used it for several stored redirects. We have not tested it under heavy load or for a large number of redirects but would love to get your feedback if you use it.

Try it out and see if you like it.

Installing Vapor is as easy as any other Radiant extension. Drop it into your vendor/extensions directory and:

rake radiant:extensions:vapor:migrate

http://github.com/saturnflyer/radiant-vapor-extension/tree/master


Jim Gay
http://www.saturnflyer.com



_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to