Finding where a page is linked to in Umbraco
# help-with-umbraco
s
Hi so my colleague wants to switch a Document Type on a page which is causing a bit of a headache, and wants to keep the same url. The only way to do this (without redirects) is to set the current page name to '...-OLD', and set up a new page with the old page name. This is all fine except the origianl page is linked all over the site (over 200 pages). Is there a way to find which of these pages the original page is linked to, so all the links can be changed to the new page?
^ sorry a bit of a convoluted question, I think it should be possible to query the database, but I'm not too sure how build the sql query string for it...
c
Hi @si26! On the newer versions of Umbraco you are able to view the relations on the document type itself under the Info tab. For Umbraco 8 and below, you could make use of the package that inspired the actual integration for U9+ called Nexu! https://our.umbraco.com/packages/backoffice-extensions/nexu/ This will however only show the relations, not actually allow you to change them, so if you are talking about changing 200 pages, doing so the database route may still be a valid option
s
Ah nice thats really good to know, thanks Corne!
^ out of interest have you used this on an Umbraco cloud project before? I'm pretty new to these type of projects but guessing it would be the same install process, or is there anything to watch out for?
c
Haven't tried this in particular on Cloud, but the proces shouldn't be different than on another host, whether you go the Nexu or the Database route! 🙂
a
Which version of umbraco is it?
s
@Amalie Wowern We're on Umbraco 8 at the moment (unfortunately haven't had the chance to upgrade yet)