ASPX templates
Version 4.x > ASPX templates > Redirect old .php files View modes: 
User avatar
Member
Member
mrogers-brainloaf - 5/8/2009 10:56:42 AM
   
Redirect old .php files
We have rebuilt a client's website using kentico. It was formerly PHP and we want to map all the old PHP urls to the new pages in the the kentico based site. Is there something built in we can use? Can I add something like http://urlrewriter.net/

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 5/18/2009 4:47:00 AM
   
RE:Redirect old .php files
Hello,

Unfortunately, we haven't tested urlrewriter.net with Kentico CMS, but you can eventually try it.

You could also add old urls as aliases for documents in Kentico CMS 4.0 or ensure redirection (e.g. 301 permanent redirect) by custom code in Application_BeginRequest method in ~\App_Code\Global.asax.cs file. Please see this thread for more details.

Best Regards,

Martin Dobsicek