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
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


201 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