Skip to content

Manage content Locations and URL addresses

Content Locations

A Content item by itself does not have a place in the Content tree and is not visible for a visitor of the website. To be available on the website, it has to be assigned a Location ID. A new Content item is automatically assigned a Location when you publish it.

A Content item can have more than one Location ID. In such a case you can find it in more than one place in the Content tree. A single Location can only have one Content item in it.

Example

You can use multiple Locations for an Article about a local sports team's victory, which you can place in the tree both under Local News and Sports News.

Even if a Content item is placed in more than one Location, one of the Locations is always treated as the main one.

To assign other Locations to content, view this Content item's Location tab and click the plus button. Then select the new parent from the Content Browser.

Content with two locations

Hide Locations

You can manage the availability of content by hiding or revealing it. You can do this in the Content item's Locations tab by using the Visibility switcher. Notice that this way only affects a Location, not the Content item. Even if you hide the content in one Location, it remains visible in its other Locations. You can also hide the Content item itself.

When a Location is hidden, all of its children (other Content items that are under it in the tree) will also be automatically hidden. They can only be revealed if the parent Location is revealed as well.

A hidden Location will be invisible for everyone viewing the website. If you are looking for a way to allow only some users to view parts of the Content tree, use Sections and combine them with proper permissions.

Swap Locations

You can swap two Content items in their Locations by going to the Swap Locations section in the Location tab and selecting a Content item to swap with.

Caution

Swapping Locations republishes their respective URL aliases. This means that if the swapped Content item was accessible by the URL that had a number at the end (added due to a name conflict), then after the swap the number will be removed (if possible). The opposite case also applies.

Swapping Locations for Content item with the same name and parent results in swapping their URL aliases. This means that if the Content item was previously accessible by a URL without a number at the end, after the swap it will be accessible by a URL with a number at the end (and the other way around).

If at some point there were more than two Content items with the same name under the same parent, then result of swapping such Content items might not be obvious. The general rule is that the Content item that previously had a higher number at the end of its URL alias will have its URL alias republished first, resulting in the lowest nonconflicting number (or the lack of) at the end of its URL alias. The Content item that previously had a lower number at the end of its URL alias will have its URL alias republished second, resulting in the second lowest nonconflicting number at the end of its URL alias.

URL management

In your website, you can manage external URL addresses and URL wildcards. You do this in the Back Office, Admin tab, the URL Management node.

For more information about URL management, see the Ibexa Developer Documentation..

In your website you can link to external websites by placing links inside rich text, or by using the URL Field. You can view and update all external links that exist within the website, without having to modify and re-publish the individual Content items.

Link manager tab

The Link manager tab shows a list of all links in the website. Click any item in the list to see its details and a list of Content items that use this URL.

Detail of a link in Link manager

You can change any link in the Link manager. It is then updated in every place where it is used, across all Content items.

The Link manager list also shows whether the link is alive or dead in the Status column. The Last checked column displays when the status was last verified.

Note

When you edit a link in the Link manager, you cannot change the URL address to one that already exists in the system.

Once you save the link, it is automatically be marked as "Valid".

URL aliases

Each Content item can have one or more URL aliases. They are additional URLs that can be used to access this Content item.

You can add URL aliases in the URL tab under Custom URL aliases for by clicking the plus button. The URL alias must be unique for the whole installation, regardless of the language.

Creating a new URL alias

For each new alias, you can set the following options:

  • Language - the language of the Content item that the alias redirects to.
  • Redirect to alias destination - when toggled on, the alias will redirect to the Content item's actual URL.
  • Place at the website root - when toggled, the alias will be created in the root of the website. If this is toggled off, the alias will be relative to the parent of the Content item.
  • SiteAccess - when selected, the prefix of the respective SiteAccess is added to the alias path.

URL wildcards

With wildcards, you can replace a portion of the URL address for many Content items at the same time, for example, to shorten the path, or to make the path meaningful for the readers.

URL wildcards tab

The URL wildcards tab shows a list of all URL wildcard definitions that exist within the website, and contains all the information about each URL wildcard. You can delete or modify existing entries, or create new ones.

Editing a URL wildcard definition

For each URL wildcard definition, you set the wildcard pattern and the destination. Also, you decide whether the link should redirect users to the destination's original address.