Site redirects are important to do especially when a new site is being published and the link structure of the site changes slightly. Proper redirects can prevent users from ending up with the wrong links to error pages that can still be found on search engines, for example. For example, Google often takes several updates before a new site structure is updated in search results.
To redirect your site, first select "Settings" from the top menu and then "Redirects"
You can also access the same view by selecting "search engine management" from the "settings" view and then going to the "redirections" tab.
The redirect view looks like this:
In the first field "Source", enter the address (path) from which to redirect. For example, "/ campaign" or ": //site.com/campaign" if the language versions have their own domain. In other words, it is not necessary to specify the beginning of the address separately for the source address, because all outgoing addresses always come from the web address specified in the site settings (in this example, the web address www.domain.com is used)
In the second field "Type", 301 is selected by default, i.e. it is then a permanent redirect. You can also change the control to a different type:
- 302 redirects can be used when, for example, a site is subjected to A / B testing for structure or design. In addition, redirects can be used when a page is refreshed and wanted to be visible to visitors.
- The redirection 303 is originally intended to embody a control in which the original resource, i.e. the page, has been replaced with a completely different content. Also, 303 redirects are interpreted differently by Google than 301, and most SEOs recommend that you always use permanent 301 redirects for page redirects.
- the control type can also be 307 which means temporary control (e.g. campaigns) which is not recommended for longer use.
The third field defines the "Target" to which the source address is directed. For example, the destination address should be in the format "/path/to_site.html" or "https://www.example.com/other-site.html".
Note that control is disabled if the source address has an existing resource (i.e., a content page can already be found on the site with the same name)
The guide uses the https://www.domain.com/rekry address as the source of the old website, which is therefore directed to the new website at https://www.domain.com/fi/yritys/avoimet-tyopaikat.html
The control can also be made to an external address, for example, ie https://www.domain.com/syyskampanja directs the user to a completely external address https://www.syyskampanja.fi
For example, when the link on the product page of an old site changes, the source is defined as https://www.domain.com/products/nike-lenkkarit which redirects to https://www.domain.com/fi/referenssit/nike.html
Article is closed for comments.