I'd like to have a simple and clean URL for a PDF file, such as


that maps to an attachment in a Drupal node, rather than using something like


I've tried using URL Aliases, but Drupal complains and won't let me create the alias. I can obviously do this with Apache redirects (with mod_rewrite) or (gasp!) with a meta tag refresh, but both seem inferior to being able to manage it from within Drupal.

1 Answer 1


You can use File Aliases module for this.

  • Thanks! This is good to know, but both that module and its dependency are in beta. Have you used this in production successfully, and extensively?
    – iconoclast
    Commented Feb 28, 2013 at 15:58
  • Not extensively but used it a few weeks ago in a newsletter to have some nicer URLs (and it worked!)
    – AKS
    Commented Feb 28, 2013 at 16:17
  • No longer supported
    – HippoDuck
    Commented Jan 30, 2018 at 16:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.