Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to change the canonical tag in the source code of an article?

Kevin Nguyen
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!
March 10, 2021

Hi all,

I'm wondering if there's a solution for this. I'm cross-posting some content from our knowledge base on Confluence to our main site on a different domain. I want to canonicalize the article on our main site. 

I installed an HTML macro app to implement my custom canonical tag; however, I noticed that there is a self-referencing canonical tag already implemented within the code. Is there any way to circumvent this, or delete the self-referencing canonical tag?

 

Thanks!

1 answer

0 votes
Brant Schroeder
Community Champion
November 26, 2021

@Kevin Nguyen 

If you are savvy with Java you could find out where this exists in the code make the edit and recompile with the change.  You would have to make the change every time you upgraded to a new version.  Otherwise there is not a way to turn it off.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events