Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, In my Umbraco 7 website when I click the home page it takes me to:
www.myhomepage.net/Default.aspx
But in the Umbraco 11 for
www.myhomepage.net/Default
It gives the following error:
No umbraco document matches the URL '/Default'.
Another question:
Some of my pages in my Umbraco 7 ending with .aspx , for example: www.myhomepage.net/customSection.aspx
However in my Umbraco 11 website it gives error. So I need to route to: www.myhomepage.net/customSection
What's the reason? How can I render .aspx pages in Umbraco 11?
Thanks
You would not generally be using .aspx pages in Umbraco versions above 8, they use the MVC pattern which does not use razor pages.
You will need to redo your aspx pages so they are views (.cshtml) pages instead.
It is possible to use .aspx pages with .net core but possibly not with Umbraco, you can read about razor pages and .net core here https://learn.microsoft.com/en-us/aspnet/core/razor-pages/?view=aspnetcore-7.0&tabs=visual-studio
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
URL's in Umbraco 11
Hi, In my Umbraco 7 website when I click the home page it takes me to:
But in the Umbraco 11 for
It gives the following error:
Another question:
Some of my pages in my Umbraco 7 ending with .aspx , for example: www.myhomepage.net/customSection.aspx
However in my Umbraco 11 website it gives error. So I need to route to: www.myhomepage.net/customSection
What's the reason? How can I render .aspx pages in Umbraco 11?
Thanks
You would not generally be using .aspx pages in Umbraco versions above 8, they use the MVC pattern which does not use razor pages.
You will need to redo your aspx pages so they are views (.cshtml) pages instead.
It is possible to use .aspx pages with .net core but possibly not with Umbraco, you can read about razor pages and .net core here https://learn.microsoft.com/en-us/aspnet/core/razor-pages/?view=aspnetcore-7.0&tabs=visual-studio
is working on a reply...