Will Confluence URL Change or Stay?

Matt St_ Martin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 20, 2023

I work for Allianz Life and I noticed that Confluence was reported going to be down for maintenance on 6/19 during the holiday. I come back to work on 6/20 only to realize my bookmark to confluence is not working. 

I noticed the URL changed from https://pwappp71 to https://pwappp81. This is a problem as ALL of the links within my pieces of documentation that link to OTHER confluence pages are now broken. This is too many to count how many times I have linked to other confluence pages.

I must ask, is this a permanent change? I would like to at least get started to try and fix some of my documentation, but if this was not intended I just wanted to check in and ask before I change all of my hyperlinks, only for it to be changed back at a later date.

2 answers

1 accepted

0 votes
Answer accepted
Sanjen Bariki
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 20, 2023

Hi @Matt St_ Martin ,

 

Welcome to Atlassian Community!

Yes, After changing the Base URL. All the pages link and documents will not work because you have linked all the pages and documents with the old https://pwappp71  URL So you have to update all the page data from the DB to new base URL. 

Please use the below DB ( Postgress )Query to update the old Base URL to New URL in confluence.

DB Query :-UPDATE content SET body = REPLACE(body, 'https://pwappp71', 'https://pwappp81') WHERE body LIKE '%https://pwappp71%';

 

Note :- Please note that modifying the database directly can be risky, and it's recommended to take a backup of the database before making any changes and Only do it in the UAT server first.

 

Please Accept the Answer If it helps you😊

Regards,

Sanjen

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 20, 2023

Mmm, I'd question why you are using the server name as the base url.

Matt St_ Martin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 26, 2023

link.PNG

I agree with you Nic, this was definitely a learning moment the hard way as I previously would use the "Web Link" choice which is a hardcoded url. I have switched to the search functionality so that it will most likely adapt the url in cases like this where the server name is changed for an update.

Like • Nic Brough -Adaptavist- likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events