Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.



Sets the URL of your site. Used e.g when generating links for notifactions and emails.



SiteURL= site_url


The URL should contain the full hostname and any additional path to the root of your eZ Publish installation.


A typical generated link will now look like

Frederik Holljen (01/03/2005 8:18 am)

Frederik Holljen (01/03/2005 8:23 am)


  • Protocol and index.php

    It is worth mentioning here that despite commonly accepted knowledge (including mine...), SiteURL should NOT include the protocol (http://) and/or the index file (index.php).

    The reason is simple: this variable can be used to generate redirection URLs (in eZSSLZone for instance), and in this case, protocol and index file might be added, resulting in a wrong URL.