Skip to main content
improved formatting
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

How todo I hide /sites/default/files from URLs?

I want to upload files to their normal directory under sites/sites/default/files//sites/default/files/. So let's assume I have example.pdfexample.pdf uploaded to sites/sites/default/files/manuals/example.pdfsites/sites/default/files/manuals/example.pdf.

I don't want to alter the place image is put on hard drive. But I want my links to files to look like http://example.com/manuals/example.pdf -. I think it's simpler and looks more professional. 

How can I achieve it with Drupal?

How to hide /sites/default/files from URLs?

I want to upload files to their normal directory under sites/sites/default/files/. So let's assume I have example.pdf uploaded to sites/sites/default/files/manuals/example.pdf.

I don't want to alter the place image is put on hard drive. But I want my links to files to look like http://example.com/manuals/example.pdf - I think it's simpler and looks more professional. How can I achieve it with Drupal?

How do I hide /sites/default/files from URLs?

I want to upload files to their normal directory under /sites/default/files/. So let's assume I have example.pdf uploaded to sites/sites/default/files/manuals/example.pdf.

I want the links to files look like http://example.com/manuals/example.pdf. I think it's simpler and looks more professional. 

How can I achieve it with Drupal?

Tweeted twitter.com/#!/StackDrupal/status/374913700077264896
Source Link
Mołot
  • 21.9k
  • 8
  • 59
  • 112

How to hide /sites/default/files from URLs?

I want to upload files to their normal directory under sites/sites/default/files/. So let's assume I have example.pdf uploaded to sites/sites/default/files/manuals/example.pdf.

I don't want to alter the place image is put on hard drive. But I want my links to files to look like http://example.com/manuals/example.pdf - I think it's simpler and looks more professional. How can I achieve it with Drupal?