Menu

Site Url Plugin

December 17th, 2011

This is a simple plugin that replaces all instances of {site_url} in rendered pages with the site’s actual URL.

i.e.: {site_url}/images/test.jpg
will be replaced by http://www.example.com/images/test.jpg

It should work in content, modules, templates, etc…

We find this to be very handy when we are working with multiple copies of a site in different folders.