301 Redirect from old web PHP to new web Kentico

Justin TR asked on May 13, 2015 09:59

Hello,

I'm working on 301 Redirect for all PHP pages in old website to redirect to the homepage of the new website. For example: when user access to old link like (http://mysite.com/page.php?id=10), new Kentico website will automatically redirect to homepage (http://mysite.com/homepage).

How can I set up that in Kentico Admin or must do something else? Thanks.

Recent Answers


Suneel Jhangiani answered on May 13, 2015 13:26

I would look at using Url Rewrite module in IIS especially since you seem to want to redirect all PHP pages to your homepage. Have a look at http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on May 13, 2015 13:26

If all .php requests will go to the home page, then you can setup a redirect in IIS. If you want specific php pages to go to different new pages, this too can be setup in IIS although I'd suggest using URL Aliases for these as they can be managed within the CMS very easy.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.