HostedCMS Help | CMS & Shop

Dansk English

6.1.7. SEO Redirects

With SEO Redirects it is possuble to affect how your webpage will react when an unknown url is entered in the browser.
To create a new redirect, first choose a language from the dropdown in the list, and press the 'create redirect' button.
A new empty line will appear with the fields:


URL Source The URL from which to redirect. It can be either a full url, or parts of an url, followed by a * character.
If the * notation is used, the redirect will match all urls starting with the characters before the * character, followed by any number of characters.
For instance:

'http://testshop.dk/oldurl/*'

Will match both:
'http://testshop.dk/oldurl/page1/' and
'http://testshop.dk/oldurl/page2/'

This can be used to redirect several urls which are parly the same to one specific url in a single line.

Because of the * rule several redirects can match the same url. If this happens, the longest matching 'URL source' will take precedence.
For instance, if the rules

'http://testshop.dk/oldurl/*' and
'http://testshop.dk/*'

are in effect, and the url

'http://testshop.dk/oldurl/page1/'

is entered, the rule

'http://testshop.dk/oldurl/*'

will determine the redirect since is is the longer of the two matching rules.
 
URL Target The full URL which should be redirected to.
 
Type The type of the redirect to use. Either 'Permanent', 'Temporary' or 'Not found' can be used. If 'Not found' is used, the URL target is not nessasary to enter, since this is used to indicate to the browser that the url is no longer valid and will not become valid in the future.
 


Remember to push the save button when the wanted redirects have been entered.