How can I find links that contain a certain string inside of them?

This question is in reference to Atlassian Documentation: Confluence Search Syntax

I want to find all the pages that contain a certain string within them.

Recently we changed URLs on a site, and we want to change all of the outgoing links on Confluence to the new site URL.

Is it possible to do a search which returns all pages that contain a hyperlink with a specific word?

1 answer

1 accepted

This widget could not be displayed.

No, no search and replace, but simply searching the url (and all versions of it, like FQDN and short-names) within brackets should return all pages. If you can afford downtime i would simply shutdown confluence, dump the database, and sed replace all urls, and reimport the database again. Once you restarted confluence it might need a re-index too.

Thanks Jonas. I'm not sure I follow the "in brackets" part. What would my search string look like if I wanted to find links to

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

210 views 2 4
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