List of Pages with broken links in a Space

I there any option to list all pages in a space that contain one or more broken links?

Thank you.

4 answers

1 accepted

I created a report to do that. Here is the code.

{section}

{report-info:global:current date|format=MMMMM-dd-yyyy}
{section}

{section}

{report-block}
{space-reporter}

{text-sort:space:name}

{space-reporter}

{report-body}

{report-info:space:name|link=true}

{report-list}

{local-reporter:space:orphaned pages}
{text-sort:content:title}

{local-reporter}

{report-body-1}{report-info:content:title|link=true} (Created by)

{report-info:content:creator|link=true} {report-body-1}

{report-empty}_No orphans in this space_{report-empty}

{report-list}

{report-body}

{report-block}
{section}

apparently these macros are not available from Confluence out-of-the-box; there's some other plugin you have to get though I can't remember what it is right now

You are welcome, Dee. I hope everything is working well for you now.

Regards,

Kay

Seems not to be valid for newer Confluence 5.x+

Hi Sorin, You need to have the reporting plugin. Kay

Adolfo,

You can use these macros on a page to give you the broken and uncreated links:

{undefined-links}

{orphaned-links}


here goes:

Customware Link Validator Plugin - only for external links

http://wiki.customware.net/repository/display/AtlassianPlugins/Link+Validator+Plugin

for internal links you need the Linking Plugin, though the description of it is not so obvious so you wouldn't know that it contains the undefined-links macro which helps find broken links

http://wiki.customware.net/repository/display/AtlassianPlugins/Linking+Plugin

and then you need the reporting plugin to create your own report of things you want to know

http://wiki.customware.net/repository/display/AtlassianPlugins/Reporting+Plugin

Irony, all links broken.

THANK YOU Kay for posting the report code!

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 ...

628 views 21 11
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