Skip to main content
The urls node bundles the URL configuration of the shop. It covers language / country alternatives via hreflang, the handling of faulty or outdated URLs, and the build-up and cleanup of SEO URLs in terms of structure, separators and parameter cleanup.

urls* - Basic structure

The basic structure of the urls node is shown below:

Parameter description


urls.hreflang - Language / country alternatives for page URLs

This node controls which alternative page URLs (e.g. DE/AT/CH/EN) search engines should know via hreflang for a page. For this, subshops are combined into groups. For each group you can specify whether products / categories are assigned automatically or manually and in which export format (CSV / JSON) the assignments should be output. You can open this setting directly in the Admin Interface via the following link: https://<shop-domain>/admin/config/urls.hreflang (Deeplink overview)

Example configuration

Parameter overview


urls.redirects - Behavior for pages not found

The redirects sub-node controls how the shop reacts to no longer valid or faulty URLs, e.g. deleted products or categories or outdated links. It also specifies which error page template is used, whether to automatically redirect to the parent category if possible, and which page serves as the fallback. It also determines which HTTP status code the shop responds with.

Status code instead of redirect

For search engines, it is essential that non-existent pages are reported as such. If the shop redirects to another page instead, search engines continue to treat the old URL as valid. For this reason, the shop responds with status code 404 by default and displays the error page directly under the requested URL. The URL in the address bar remains unchanged. The behavior is defined by the errorPageBehavior parameter: Which page serves as the error page is determined by redirectFallback and errorPageTemplate. With notFound and gone, $wsViews.current.status outputs the sent status code on the error page, i.e. 404 or 410. This allows you, for example, to output a suitable notice text in the template. You can open this setting directly in the Admin Interface via the following link: https://<shop-domain>/admin/config/urls.redirects (Deeplink overview)

Example configuration

Parameter overview


urls.urls - General settings for SEO URLs

The urls sub-node controls how speaking URLs in the shop are built and cleaned up. Among other things, this defines whether the URL logic is active, whether URLs are lowercased and which separators are used. You can open this setting directly in the Admin Interface via the following link: https://<shop-domain>/admin/config/urls.urls (Deeplink overview)

Example configuration

Parameter overview