how to find all broken links in a space or multiple spaces

Hi,

I just inherited a Confluence wiki and it has a lot of hard-coded URLs that are broken. How can I get a list of all of them?

I've tried searching for part of the URL string, but the search functionality does not seem to include fragments of URL strings. (I guess the search only looks at what is displayed, and not the wiki markup.)

I notice that there's an old thread on this; hoping the problem/feature has been addressed in newer releases!

thanks for any tips! -Dee

2 answers

Hard coded URLs that are of the http:// format are going to be hard to detect unless you use some sort of website validator tool. However, if you are referring to page links, [My Page X], then there is an easy way to detect that. Put this on a page in a given space

h2. Pages Which Have No Links Pointing To Them: 

{orphaned-links}No links exist{orphaned-links} 

h2. Links Which Point To Non-existent Pages: 

{undefined-links}No links exist{undefined-links}

Thanks Kevin! unfortunately these macros are not supported ("unknown macro" error) in my installation (3.5.9), do i need an additional plugin? -Dee

These macros are part of the Linking plugin from Customware:

https://plugins.atlassian.com/plugin/details/166

Perhaps u may try this: [Validate External Links For A Space|http://wiki.customware.net/repository/x/iQC9Ag]

Thanks Matthias, I'll have a look! -Dee

Thanks Kevin, Matthias!

I learned that if you want some basic content administration functionality you have to look for plugins. I'm used to mediawiki so it didn't occur to me to look outside of the paid-for product. Much appreciated!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 11 hours ago in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

95 views 1 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you