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

1 vote
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.

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
Published Tuesday 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...

206 views 2 10
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