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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

685 views 21 12
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