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.
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
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: http://our.umbraco.org/wiki/install-and-setup/configuring-404-pages
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?
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,
Richard
is working on a reply...