November Happy Hour will be moved to Thursday December 5th.

Search for pages containing Cross Links.

Vote:
 

Hello Everyone,

We have a requirement to delete certain sections of our website (which is about 5000 pages) via the Episerver CMS. Some of the pages in other sections of the site has link references to the sections that we choose to delete.

Obviously one option is to physically visit each of the 5000 pages and change the links. Is there a tool that would allow me to enter certain keywords or maybe URL and be able to give me a list of pages that contain the specified URL or Keyword?

thanks & regards

Noel

#46707
Dec 29, 2010 8:00
Vote:
 

Hi

There is actully a api that gives you all pages that referes to a page. It's been called when you try to delete a file. If you use reflector on DeletePage you will see a call to

DataFactory.Instance.GetLinksToPages(this.CurrentPage.PageLink)

That will give you a list of pages that reference to that page.

#46708
Dec 29, 2010 9:00
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.