Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Dincer M. 35 posts 97 karma points
    Mar 06, 2014 @ 04:41
    Dincer M.

    Configuring 404 pages

    We re-designed and developed a website recently. It was php-based before, so there are plenty of links online that direct to the old php pages. As they end up with 404 error pages, I want to redirect them to our index page automatically for a better user experience.

    I followed the guide on the following page:

    However, as far as I see, this can only redirect non-existent aspx pages:

    http://localhost:9595/non-existing-page.aspx ---> works OK, redirects to homepage.

    http://localhost:9595/non-existing-page.php ---> only shows a blank page, no redirection

    Is there anyway to fix this so that it can redirect every non-existing page regardsless of their extensions?

  • Richard Soeteman 4039 posts 12887 karma points MVP 2x
    Mar 06, 2014 @ 08:32
    Richard Soeteman

    This is because the aspx extension is handled by Umbraco and the .php extension not. What you could do is create a rewrite rule to map .php to .aspx as in this article

    What you also can use is SEO Checker. Does this and a lot more to out of the box to make sure url's are unique. Only one click to configure url rewriting

    Hope this helps,


Please Sign in or register to post replies

Write your reply to: