Attachment download path outside base path

I changed the base path of confluence from / to /confluence and now all attachment download links still point to /download instead of /confluence/download. Is the download root absolute and not relative to the confluence base path? Is it separately configurable?


1 answer

Did you followed the instructions in How to Relocate the Confluence Home Directory? Did you updated the new path in the file <confluence-install-directory>/confluence/WEB-INF/classes/

I did not relocate the confluence home directory, hence the setting in is still set to the correct location on the file system. I think it's a rendering problem, because the generated attachment links still refer to http://hostname/download/attachments/xxx/yyyyy.zz instead of http://hostname/confluence/download/attachments/xxx/yyyyy.zz although I changed the base directory to /confluence.

just to clarify: I'm talking about the setting General Configuration > Server Base Url

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

381 views 21 10
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