Redirect http status on address move and publish end date

Vote:
 

Is there a way in Epi to set up addresses to redirect 301 "Move permanently" when we change the path of the page?

Also, when a type of page publish end date is do, i want to display 410 Gone, and not come to login page as default. Ideas?

#65449
Jan 30, 2013 12:39
Vote:
 

The 301 when changing paths is not builtin EPiServer like it is in Wordpress. You may develop i yourself. Save old paths on PagePublished, PagedMoved events. Then handle all 404s and redirect them to the right page. 

Try https://www.coderesort.com/p/epicode/wiki/404Handler The plugin detects all 404 and you can redirect them to the right page.

I will suggest 404 Not Found instead of 410 Gone in your case.

#65455
Jan 30, 2013 13:25
Vote:
 

The wheel has already been invented. The Epinova.PermanentLinkKeeper plugin will handle 301s for you when you create, move or delete pages. 

http://www.epinova.no/blog/arve-systad/dates/2012/5/epinova-permanentlinkkeeper-released/

 

#65478
Jan 30, 2013 16:15
Vote:
 

Great, thank you! i will test it!

#65483
Jan 30, 2013 16:26
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.