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
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

138 views 3 4
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