root_url tag


Prints the root url location for the site.

   How to use?

Insert the tag into your template/page like:


   Available parameters

  • autossl=1 - Enabled by default, this option will detect if the request made to the server was over SSL, and if it was return the appropriately configured SSL url. To disable this feature specify autossl=0.
  • assign - Assign the results to the named smarty variable.

   Syntax examples

{root_url assign='foo'}