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
Posted Thursday in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

819 views 4 5
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