In content tree, i have a page e.g news123 which is the name and its node id is '111'
Umbraco generates a url when it's created and it would be like 'http://mydomain/news123' which is good and friendly.
However, I notice umbraco can load content via a node ID, e.g. 'http://mydomain/111' and this is not readable.
Is there a way to stop Umbraco loading content via node id in this case?
I am quite new to Umbraco and any assistance would be appreciated.
By default, Umbraco provides nodeid based url for Preview Mode. This is because it is possible that you have not published the page so no actual url but you still want to access the Unpublished page and you can do it using Preview button in the back-end.
You need to set the canoncial url of the page to avoid any SEO issues.
Request url - load content
In content tree, i have a page e.g news123 which is the name and its node id is '111'
Umbraco generates a url when it's created and it would be like 'http://mydomain/news123' which is good and friendly.
However, I notice umbraco can load content via a node ID, e.g. 'http://mydomain/111' and this is not readable. Is there a way to stop Umbraco loading content via node id in this case?
I am quite new to Umbraco and any assistance would be appreciated.
Cheers,
Hi,
By default, Umbraco provides nodeid based url for Preview Mode. This is because it is possible that you have not published the page so no actual url but you still want to access the Unpublished page and you can do it using Preview button in the back-end.
You need to set the canoncial url of the page to avoid any SEO issues.
Hope that helps. Let me know for any other queries.
Cheers,
Shaishav
Thanks Shaishav.
Actually, Canonical links have been added correctly for both node id url and friendly urls to avoid SEO issues.
After a bit search, it is said node id urls are used for preview. So for now, i think it's ok to do Canonical links only.
is working on a reply...