New domain name - redirect all URL's from old to new domain.
Hello,
We will change the domain name of our Umbraco site. My question is are all the URL's of the site rediected automaticly, or do we have to do a manipulation first, or we have to change it manually?
To elaborate on what Alex said. Its actually pretty straightforward and there are really only two steps on the Umbraco if the path after the domain isn't changing. You'll also want to update search console to notify Google of the change.
Update the cultures and hostnames on the home node to include the new domain.
Use a redirect rule like this to 301 redirect so search engines know the site has moved. This will force https and remove www but you may not need the first two rules if you don't want that part.
New domain name - redirect all URL's from old to new domain.
Hello,
We will change the domain name of our Umbraco site. My question is are all the URL's of the site rediected automaticly, or do we have to do a manipulation first, or we have to change it manually?
Do we have to use 301 URL tracker? https://our.umbraco.com/packages/developer-tools/301-url-tracker/
Thank you for your help.
Hello Fatiha
All URLs generated by the CMS will change automatically. But, all URLs that were indexed by search engines would not change by your switch.
To update all indexed links, you have to add 301 redirects from the old domain to a new one.
The best way to do it is by using IIS Rewrite rules.
Btw, will you keep hosting the old domain name?
Thanks, Alex
To elaborate on what Alex said. Its actually pretty straightforward and there are really only two steps on the Umbraco if the path after the domain isn't changing. You'll also want to update search console to notify Google of the change.
Update the cultures and hostnames on the home node to include the new domain.
Use a redirect rule like this to 301 redirect so search engines know the site has moved. This will force https and remove www but you may not need the first two rules if you don't want that part.
The editor is stripping out the code, but here's a gist: https://gist.github.com/amirkhan81/89eb6783c57bbf9d0750a48302576e0b
Thank you for your fast answer. We will do this, and I 'll back to you if any issues.
is working on a reply...