Is there a way to get "vanity URLs" for my assets? Something like:


rather than:


I know that dumping all assets into a /download folder will work but this is far from an ideal solution. Is there another way?

1 Answer 1


Perhaps using redirects and Regex in your .htaccess? There's a Craft plugin that would help with this. https://github.com/rkingon/Craft-Plugin--Redirect-Manager/

You could use something like:

RedirectMatch 301 /download/(.*) /several/subfolders/for/organisation/purposes/$1 

You would need to refine this for matching several different subfolders.

  • Thank you for this. I asked the question and then kinda forgot about it. Feb 24, 2015 at 21:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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