Can you create redirects using Umbraco 4? Our site was build with Umbraco 4 we are moving to a new site with a different domain name. I would like to create redirects for our Umbraco site to the new site. any way of doing this?
I'm starting with an apology, my advice is only speculative as I've not used Umbraco 4, but it should still be running under IIS so I'm assuming the following should still work - it might not.
If you are mass redirecting your entire site and the only thing changing is your domain name, you can use IIS Rewrite Module to redirect the old domain to the new domain. If you don't have access to the IIS console, you can configure this using some XML in your web.config file.
If you need to redirect individual URL's because the site structure is also changing for what ever reason, the same IIS Rewrite Module has a RewriteMap capability where you can list all your redirects and put those in place. You can then create a rewrite rule that looks in the map for matches.
To get you started with the IIS Rewrite Module this is a really helpful page on the Microsoft docs website :-)
create redirects using Umbraco 4
Can you create redirects using Umbraco 4? Our site was build with Umbraco 4 we are moving to a new site with a different domain name. I would like to create redirects for our Umbraco site to the new site. any way of doing this?
Hi Stephanie,
I'm starting with an apology, my advice is only speculative as I've not used Umbraco 4, but it should still be running under IIS so I'm assuming the following should still work - it might not.
If you are mass redirecting your entire site and the only thing changing is your domain name, you can use IIS Rewrite Module to redirect the old domain to the new domain. If you don't have access to the IIS console, you can configure this using some XML in your web.config file.
If you need to redirect individual URL's because the site structure is also changing for what ever reason, the same IIS Rewrite Module has a RewriteMap capability where you can list all your redirects and put those in place. You can then create a rewrite rule that looks in the map for matches.
To get you started with the IIS Rewrite Module this is a really helpful page on the Microsoft docs website :-)
https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module
Hope that gets you moving in the right direction.
Nik
Thanks Nik. I will pass this info along to my manager!
is working on a reply...