Editing wiki markup

I understand newer versions of confluence will no longer allow their users to manage markup directly. I have a use case that I haven't been able to overcome and was hoping to find some guidance. I have two confluence installations for different audiences, one from wiki1.com and other from wiki2.com. If I copy an article from wiki1 to wiki2, all the auto-generated links (anchors, toc, links, etc) from wiki1 will be kept without change in wiki2. If I copy the article into a text file, I also lose the links and any active html components/formating, which means I can no longer export/import articles from one wiki to another w/o some loss of metadata or accepting that I will have to make manual adjustments myself, whereas if I had the metadata, I could simply perform a search/replace.

My question is thusly: How can I perform a search/replace on the metadata in confluence on the wiki2, such that I can change the urls all at once? We're talking more than 100 links here, which is almost prohibitive to do manually)


p.s: The built-in search and replace does not work.

2 answers

A couple of things could help your use case:
  1. You can use Wiki Markup for Confluence and the wiki markup macro to continue to edit content using wiki markup.
  2. You can use the copyPage action from JIRA Command Line Interface (CLI) to copy pages and use the findReplace or findReplaceRegex parameters to change the target source during the copy.


I think it's not that they don't allow it anymore, it's just that the Confluence Source Editor plugin is not compatible yet, and they haven't committed sufficient developer time to get it working yet.

Anyways, until they can fix it, there is an option to update the XHMTL markup manually via the API.  You can find the procedure in this answer:


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

930 views 47 7
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