It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Host the website(html pages) in confluence

I need to host the website(html pages) in confluence.

I have added the related folder "XYZ" in path /opt/atlassian/confluence/confluence/ , and trying to access the index page with url as https://confluence_url/XYZ/html_folder/index.html but the page is not displayed , though I can see the source code but it is not rendered , not in proper format.

I have checked the existing confluence plugins but all are in placed. Can you please suggest what might be an issue.

Reference used from -- 



1 answer

0 votes

Hi @Dolly P ,

If I understand correctly in your Internet browser you can see the html code by viewing the page source, but this is not rendered when you try to open the page normally.

If this is correct then I believe you are facing the bug mentioned in the KB article you mentioned for reference:

Please review above bug since it is providing more information as well as possible ways to workaround the issue:


Plugin Folder:
Inside <Confluence-Install-Directory>/confluence, create a folder called plugins. Browse to <Confluence-Install-Directory>/confluence/plugins and drop the AtlassianTest.html inside it. Try to access the file through the following path: <YOURBASEURL>/plugins/AtlassianTest.html and it will render your content just fine.

HTML Injection:
Parallel to that, you may inject the following HTML to your code, inside the header part:

<meta name="decorator" content="none"/>

In the end, your code should look like this:

 <meta name="decorator" content="none"/>
 <title>This is title</title>
Hello world

With this, you can place your custom inside <Confluence-Install-Directory>/confluence directory and it should render fine.


Some other information is available in the comments to the bug ticket.


Please vote for the above bug ticket and set yourself as a watcher so that you will be notified in case of any update/progress. The bug will be addressed according to the Atlassian Cloud bug fixing policy.




Suggest an answer

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

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

7,070 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you