0
votes

I'm in the process of migrating our old website from one CMS into Umbraco. However, I was just curious as to whether there was an out of the box alternative way of accessing pages. It looks like pages have their NiceUrl, however I was wondering if there was a way to access pages by specifying their page id in the querystring i.e. something like default.aspx?page=123.

I only ask as this is something we can achieve in our current CMS and it would make the migration a bit simpler.

Thanks in advance.

1

1 Answers

2
votes

You can access pages by simply using their ID as the page name ...

http&colon;//example.com/<nodeId>.aspx
http&colon;//example.com/<nodeId>
http&colon;//example.com/<nodeId>/

The last one seems to work for at least Umbraco v6, but not earlier versions of v4, regardless of what you have umbracoUseDirectoryUrls set to in the web.config.

... so for instance ...

http&colon;//example.com/123.aspx
http&colon;//example.com/123
http&colon;//example.com/123/

... would all work, no matter how deep the node in question is within the content tree.