Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I've taken over a massive MOSS 2007 project, nearly 2000 pages deep. During initial development, the previous developers used a testing URL to test particular sections of their web parts:

http://wwwtest.ad.domain

This went live with the application and is now causing issues with some of the links as the DNS entry was removed from the client's front-end, so I need to rename all of these to the actual link of the web site.

I've read up on how to do this effectively, through SP Designer but this did not work for me. I've found several tools ($ of course) but sure there must be a way through a C# command-let or something. I haven't found any code online that points me in the right direction.

Any ideas?

share|improve this question
add comment

3 Answers

up vote 1 down vote accepted

I have used PowerShell in the past to iterate through the object model and seek out links with a particular prefix (ie: http://oldurl) and either remove the link or update if necessary. That stuff is a bit harder in 2007 (PowerShell is a little more limited, though it still should be possible).

share|improve this answer
    
I've been too lazy to actually write a command-let to itterate my site structure. As this is a pretty deep site, and we're still finding issue, might as well just do it. Thanks webdes03 –  JadedEric Nov 18 '11 at 12:22
add comment

there is also one by www.qipoint.com for sp2010 to report on broken links, its free

share|improve this answer
add comment

I'm using Xenu for broken links for many years and it is free. Just click here for more information at this link http://www.seomoz.org/blog/xenu-link-sleuth-more-than-just-a-broken-links-finder You can create xml reports, excel or text reports, sitemaps, missing alt tags reports and so on. The only disadvantage is fact, that you can't replace listed links...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.