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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,098 views 17 14
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