In my confluence 4.3, i have lot of users hardcoding links to the attachments (instead of using the attachment macro) that are uploaded on confluence.
The problem with this is that if i change my confluence URL then all these hardcoded links will break.
What are my options to not let the links break?
After you have installed the plugin, you can try this command line:
confluence --action runFromContentList --runFromPageList "\"https://confluence.in.here.com\"" --space NAME-OF-A-SPACE --common "--action modifyPage --id @pageId@ --findReplace \"https://wiki.ad.navteq.com/confluence#https://confluence.in.here.com\" --special \" #\" "
I hope it helps.
Another option for changing the base URL is to do the following:
sed command on this file to change your URLs from the old to the new. For example:
# sed -i "s/OLD-URL/NEW-URL/g" DATABASE_SQLDUMP_FILE
As with anything involving the database, make sure you perform a back-up that you will leave unchanged that you can restore if something goes wrong. Also, first try this out within a test environment.
From my experience though - this procedure has worked well for me and avoided having to install add-ons.
Hi my Community friends! For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...
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!
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