Global/Space Logo link

Is it possible to change the link assigned to the Global/Space Logo ? Right now it goes back to the default space within Confluence but I want to make it go to an outside page.

3 answers

This will require a modification to the source files (Confluence uses Velocity). One place that I can think of is inside the <confluence_installation>/confluence/template/includes/macros.vm.

Replace the line

<a href="$req.contextPath/display/$spaceKey">

with what you need.

0 votes
David Simpson Community Champion Aug 23, 2011
I think also in <confluence_installation>/confluence/decorators/main.vmd ...and the equivalent for each theme installed (if necessary) Maybe replacement of the href attribute b JavaScript would be easier?

I encountered the same problem and fixed it by including some Javascript. Go to the Confluence Administration pages -> Custom HTML and add the following snippet to the "At the end of BODY" section:

<script type="text/javascript">
AJS.$('div#top_logo_wrapper > a').first().attr("href", "/confluence/homepage.action");

This works in an installation with the RefinedWiki theme.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

749 views 33 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