I have created a multilingual site using the multi-node architecture where underneath my root node I have a 'EN' node which contains the site pages. In the future we will probably add 'FR' or 'DE' nodes for France and Germany but at present there is only the 'EN' node.
I have used the umbracoRedirect property to redirect the root node to the 'EN' node but I understand this is a temporary 302 redirect. My first question is should this be a permanent 301 redirect and if so, how do I go about making it a permanent redirect.
This package is used to manage URLs within umbraco. It automatically tracks URL changes, for instance when a node is renamed, and makes sure the old URL will redirect to the new location. This is great for SEO and great for people visiting your website via this old URL. Search engines will update the indexed URL and people won't visit the old, broken URL.
You can also create your own redirects, based on a simple URL or using a Regex pattern. You can redirect to an existing node or a manually entered URL.
Not entirely related, but maybe good to know. If you have 3 nodes for languages:
- Website - EN - DE - FR
You can set a domain on the EN called website.com. On the DE and FR website you can set a domain called website.com/de and website.com/fr. That way the default language has better SEO because it starts on the website.com domain. All nodes are at the same level in the tree, but the DE and FR website have an extra segment in the url which makes it easier to maintain.
I'm sorry the root node won't need a redirect anymore because the domain is added to the EN node so Umbraco will start from there when visiting that domain.
Multilingual site - permanent redirect?
Hi guys,
I have created a multilingual site using the multi-node architecture where underneath my root node I have a 'EN' node which contains the site pages. In the future we will probably add 'FR' or 'DE' nodes for France and Germany but at present there is only the 'EN' node.
I have used the umbracoRedirect property to redirect the root node to the 'EN' node but I understand this is a temporary 302 redirect. My first question is should this be a permanent 301 redirect and if so, how do I go about making it a permanent redirect.
Cheers, Martin
Hi Martin,
For 301 redirects, I would recommend you to take a look at the 301 URL tracker package http://our.umbraco.org/projects/developer-tools/301-url-tracker from Stefan
This package is used to manage URLs within umbraco. It automatically tracks URL changes, for instance when a node is renamed, and makes sure the old URL will redirect to the new location. This is great for SEO and great for people visiting your website via this old URL. Search engines will update the indexed URL and people won't visit the old, broken URL.
You can also create your own redirects, based on a simple URL or using a Regex pattern. You can redirect to an existing node or a manually entered URL.
Hope this helps,
/Dennis
Not entirely related, but maybe good to know. If you have 3 nodes for languages:
- Website
- EN
- DE
- FR
You can set a domain on the EN called website.com. On the DE and FR website you can set a domain called website.com/de and website.com/fr. That way the default language has better SEO because it starts on the website.com domain. All nodes are at the same level in the tree, but the DE and FR website have an extra segment in the url which makes it easier to maintain.
Jeroen
Hi Jeroen,
I like that solution! So I just want to clarify, website.com is better for SEO than website.com/en?
So the root node will still contain a temporary redirect to the 'EN' node or is this no longer necessary?
Martin
I'm not a SEO expert but some colleagues told me it's better. The root node could do an internal redirect. More info here: https://cultiv.nl/blog/umbraco-tip-of-the-week-redirects/
Jeroen
I'm sorry the root node won't need a redirect anymore because the domain is added to the EN node so Umbraco will start from there when visiting that domain.
Jeroen
So just do
- Website
-- En -> Domain website.com
-- DE -> Domain website.com/de
-- FR -> Domain website.com/fr
Than it should work. No redirects needed.
Jeroen
Sweet, thanks Jeroen :)
Glad I could help. Could you please mark the post as the solution.
Jeroen
Hello,
I've created an example which uses 1-1 multilingual. So a single node can have different URLs per language.
You can find more info here: https://our.umbraco.org/projects/developer-tools/1-1-multilingual-example/
Jeroen
is working on a reply...