How to Turn Off Confluence Logo Button Redirection to the Homepage

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Use Case

In Confluence, if you click the confluence button it will redirect you to Confluence homepage. You might want to disable this functionality.

Resolution

You can make the logo non-active with the following steps by putting some Javascript in the Custom HTML section of Confluence Admin to Unlink it on page load.

<script type="text/javascript">
AJS.toInit(function(){
    if(AJS.Meta.get('is-confluence-admin') != "true") {
        AJS.$('#logo a').attr('href', '#');
    }
});
</script>

 

Related Content


Last modified on Dec 31, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.