Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent anonymous users from viewing page history

Stumper Dumpel August 21, 2025

Hi!
After updating Confluence to version 9.2.6, we encountered a problem where we couldn't view the page history.
Previously it was configured according to the instructions 'How do I prevent anonymous users from using page history?' and now both the authorized and anonymous user receives an error message.

authorized user:
2025-08-21 171209.png
anonymous user:
2025-08-21 171201.png
How to fix this problem?
Thanks!

1 answer

0 votes
Anwesha Pan (TCS)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 21, 2025

Hi @Stumper Dumpel 👋

To prevent anonymous users from viewing page history after updating Confluence to version 9.2.6, you must disable anonymous access globally, as there is no UI option to hide page history specifically for anonymous users, and you will need to reapply the code change to the viewpreviousversions.vm file if you previously used that workaround. 

You can follow the below steps : 

Reapply the Code Change (If You Had a Previous Workaround)

If you previously implemented a workaround to hide page history for anonymous users, you will need to redo this step because upgrading Confluence replaces its code. 

  1. Locate the File: Navigate to your Confluence installation directory and find the file viewpreviousversions.vm within the <confluence-install>/confluence/pages/ directory.
  2. Replace with the Modified Code: You will need to find the new or existing code for viewpreviousversions.vm for Confluence 9.2.6 and replace the old code with it.
  3. Copy and Paste: This involves copying and pasting the new, correct code into the file.

I hope this help! 😊

Thanks,
Anwesha

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events