redirect users to a personal page within a space

I have a space which is intended to be accessed by clients.  This contains a list of pages for each client. I don't want each client to see the space homepage as it contains a list of all clients.  I want them at login to be directed to their own client page.  Is this possible?

I'm trying to avoid having a space for each client.

3 answers

1 accepted

0 votes
Answer accepted

Thanks again, Nic, that will work well if I can find out how to run a user macro specific to one user at logon.  That is, when someone from company XYZ logs on, the user macro GoToXYZ is run automatically.  Any ideas?


I'm not sure.  You'd need something to parse their user details to work out their company from something in $action.remoteUser  (I assume it's part of the email address for the user?).

Then it'll need to embed a redirect, which is out of my skill range (I don't do javascript beyond reading it and saying "ugh")

0 votes

There's no function for that in Confluence, but I suspect you might be able to write a "user macro" that will look at who the user is and issue a "redirect" to the correct page

I've got the user macro working to redirect to the right page, all I need now is to figure out how to run a specific user macro when a specific user logs on.  Any ideas?  

Macros are part of pages, not logins.

The only way I think this is going to work without changing the core code is to change the Confluence dashboard setting from "dashboard" to "specific home page" and make it land on a page that includes your macro.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,498 views 4 13
Read article

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