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

Search for pages with broken links.

Vote:
 
We all know that our dear users sometimes reads: "Are you really sure you want to delete this!?" as... "Just click ok again to continue and let the technitians worry about any future problems". I've been asked if there's any way to create a page that lists pages that have broken EPi-links in them. I was thinking of using something like DataAbstraction.SoftLink.LoadReferencing(PageReference.Empty) but that didn't quite give the results I was looking for. Any Ideas? Regards / Stellan
#13068
Jun 13, 2007 11:19
Vote:
 
Take a look at this blog post from Mats Hellström at EPiServer, sounds like exactly what you're looking for: http://epicms.blogspot.com/2007/03/check-your-external-links.html Best regards Martin
#15342
Jun 13, 2007 11:46
Vote:
 
Thank you. Though this is not what I was looking for, it was clearly a good plugin. I'm more interesting in how to list EPi-pages that have links to other EPi-pages that have been deleted from the trashbin. Anyone else got an idea? //S
#15343
Jun 13, 2007 15:45
Vote:
 
Oh, And I forgot to mention, we're still using EPi 4.51 //S
#15344
Jun 13, 2007 16:09
Vote:
 
Realized the second I clicked Publish that I might have misunderstood your request just a little bit, that you're more interested in internal links than in external links :-) But perhaps that module can act as a starting point in your work? /Martin
#15345
Jun 13, 2007 16:28
Vote:
 
Maybe this could give some inspiration. http://epicms.blogspot.com/2007/03/check-your-external-links.html Even though it's about external links the same thing could be done on internal as well. Take each URL create a PageReference, use it to load a PageData object and handle your exceptions to find out if the page exists. /HAXEN
#15346
Jun 18, 2007 9:43
* 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.