How do you export HTML files that can be opened from index.html?

After I export a space to HTML and open the ZIP file that is generated, I can open each .htm file. However, if I open the default page for the directory (index.html), I can view the structure of files, but I cannot any open any of the topics.

1 answer

1 accepted

0 vote
Penny Wyatt Atlassian Team Oct 24, 2012

Hi Wisherut,

When you're opening the zip file on your local machine, are you just browsing through the still-zipped file, or are you expanding it on disk and then opening the files in the expanded directory? I get the same behaviour if I open index.html from within the ZIP archive, but not if I expand the ZIP file on disk and then open the file from the expanded directory.

This isn't really a Confluence thing - when you open a file from within a ZIP file in a web browser, the operating system expands that one single file into the temp directory and opens it from there. Since the links in the page are all relative, the browser then looks for the other files in the temp directory but they're not there - it's not smart enough to know it needs to expand them too.

Expanding the whole ZIP archive before attempting to browse it should solve the issue.



Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted 4 hours ago in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

20 views 1 2
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot