pagetreesearch macro redirects to the login page

When using the pagetreesearch macro on one of our clients wikis you are re-directed to the login page even though you are already logged in. Once you log in again you are presented with a search page.

Our client has 4 instances of confluence; two production wikis and 2 sandwikis which the other developer and I do all of our testing in.

The pagetreesearch macro works on both of the sandwikis and on one of the production wikis.

The page tree plugin installed on the wiki is the latest version and I already tried re-installing the plugin but the search still re-directs.

Could somebody help me trouble shoot this issue or direct me to any support issues that have already been created on this issue?


susan hallwood

2 answers

This widget could not be displayed.
David Simpson Community Champion Jan 05, 2012

This sometimes happens when the Confluence user session has (or appears to be) expired.

Pagetree will then redirect to the login page, but this site has a custom authenticator directing to an external login page.

First step would be to remove the custom authenticator and then troubleshoot.

This widget could not be displayed.

Hrmm. I would check if the server base URL is set correctly, and that the URL that you are using to access Confluence matches the server base URL.

this is the base url:

It re-directs you to the customized login page at:

It should be going to:

Every instance of Confluence has a customized loggin page.

Hrmmm, this sounds like there is an intervention of a custom authenticator or a URL whitelist requirements...

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

523 views 7 6
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