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.

SiteURL

Summary

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

Usage

 

SiteURL= site_url

Description

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

Examples

SiteURL=ez.no

A typical generated link will now look like http://ez.no/some_url_here.

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

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


Comments

  • 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.