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


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:

Perhaps u may try this: [Validate External Links For A Space|]

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
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

928 views 47 7
Join discussion

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