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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Friday in Off-topic

Friday Fun: Riddle me this

Happy Friday, Funmakers! We had a Community Team offsite in Austin this week, and my mind feels primed for thinkin' from all the brainstorming we did!  So, this week's Friday Fun thread w...

137 views 17 3
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