The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

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

Greg Kullberg
Contributor
September 14, 2016

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 14, 2016

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.

Greg Kullberg
Contributor
September 15, 2016

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 www.example.com?

TAGS
AUG Leaders

Atlassian Community Events