It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Dee Elling Sep 28, 2011

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

0 votes
Kevin Buchs Sep 28, 2011

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}

Dee Elling Sep 30, 2011

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

Kevin Buchs Oct 03, 2011

These macros are part of the Linking plugin from Customware:

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

0 votes
Matthias Born Sep 29, 2011

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

Dee Elling Sep 30, 2011

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

Dee Elling Oct 20, 2011

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

950 views 0 19
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you