I've inherited a Umbraco website running Version 7.2 and need to redirect a few pages as some pages have been deleted and users are still landing on them. How is this done?
there is no page created for the page i want to redirect from so i cant add a url there.
A new website is being created to update to the latest version.
The easiest way would be with IIS assuming you have access. Alternatively, you can put the rewrite rules into your web.config. I believe that should work.
Yeah, in the later version of Umbraco there is a redirect tool, however there is no (at least not that I'm aware of) way of putting your own redirects in there.
With IIS, you have a couple of options, if you are doing a bulk and don't need rules you could use the rewrite map option combined with a rule that performs the look up.
If you open IIS and select your site there should be an option for "URL Rewrite" where you can create maps and rules. These do end up saved into your web config so you might want to create the first one, then extract it into a separate file to save webconfig getting too large (I always do it that way instead of the separate file first).
Take a look in the plugin Simple 301 - Redirect Manager, it is more easier. You simple create a entry with the old url and tell to which url it should redirect to.
Redirect on Umbraco 7.2
I've inherited a Umbraco website running Version 7.2 and need to redirect a few pages as some pages have been deleted and users are still landing on them. How is this done?
Thanks!
The easiest way would be with IIS assuming you have access. Alternatively, you can put the rewrite rules into your web.config. I believe that should work.
Thanks, I knew about the web.config but was just wondering if i was missing something in the umbraco login as im aware this is possible for 7.4 +.
How would i do this through the IIS?
Thanks
Yeah, in the later version of Umbraco there is a redirect tool, however there is no (at least not that I'm aware of) way of putting your own redirects in there.
With IIS, you have a couple of options, if you are doing a bulk and don't need rules you could use the rewrite map option combined with a rule that performs the look up.
If you open IIS and select your site there should be an option for "URL Rewrite" where you can create maps and rules. These do end up saved into your web config so you might want to create the first one, then extract it into a separate file to save webconfig getting too large (I always do it that way instead of the separate file first).
Okay perfect, i will be doing this tomorrow so if i get any questions am i okay to reply on here?
Thanks
Of course, that is exactly what this forum is for :-) we are all here to help.
Take a look in the plugin Simple 301 - Redirect Manager, it is more easier. You simple create a entry with the old url and tell to which url it should redirect to.
https://our.umbraco.org/projects/backoffice-extensions/simple-301/
I will get take a look to see if this is compatible with 7.2!
Thanks
Hi Lewis You can use the urlrewriting.config file to put permanent redirects in.
See my post about it.
http://www.codeshare.co.uk/blog/how-to-create-url-rewrite-rules-in-umbraco/
Hi Paul,
I have actually read that before! And watched a few of your videos!
Thanks!
is working on a reply...