Updating multiple pages at once (Redirection plugin)

With this plugin, do we need to enter the redirect URL page by page, or is there a UI or an import feature to allow bulk updates? We have several hundred pages that we need to redirect to a new Help Desk application.

1 answer

Confluence Command Line Interface (CLI) has a modifyPage action where it is easy to add content to the beginning (or end) of a page. Use with one of the run actions like runFromPageList to hit all the pages you want.

The redirect URL will be different for each page. How would that work?

You must have a mapping some where (page title to redirection target). If it is in a database, runFromSql might work for you. Other choices are using the run action with a file where each line defines the mapping or just scripting the modifyPage action with the script driving the mapping in some way.

Thanks Bob. We will take a look at runFromSql then. Thanks for taking the time to reply.

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
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

172 views 0 4
Read article

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