Skip to content

URL Handling

drotter edited this page Jan 15, 2013 · 3 revisions

URL Handling

URLs can be separated into two different types: standard and landingpage URLs. The standard URL links to a specific page and includes the language to which it refers in itself. On the other side the landingpage URLs are a marketing tool, and should therefore be easy to remember.

Database

The urls-table stores all the available URLs for the ZOOLU installation. The fields are differently used, depending on the url (whether it is a landingpage or not). The isLandingPage-field is self explanatory, it is a boolean, and describes if the current row is a landingpage URL. The following table shows the meaning of the other important fields for standard and landingpage URLs.

Database field Standard URL Landingpage URL
relationId The uniqid of the element the URL links to The uniqid of the element the URL links to
idUrlTypes The type of the element this link refers to (page or global) The type of the element this link refers to (page or global)
isMain 1 if this URL is the current one, 0 if it is an old one kept in history (for redirects) 0 if the Landingpage URL should be redirected, otherwise 1
idParent - Only for globals - The parent in which the global section is included
idParentTypes - Only for globals - The type of the parent (folder or rootlevel)
url The url at which the element is located The url at which the element is located
external - A link to a external page
Clone this wiki locally