drupal-with-nginx icon indicating copy to clipboard operation
drupal-with-nginx copied to clipboard

Redirect from pdf file location to Drupal page

Open EdViva opened this issue 9 years ago • 0 comments
trafficstars

I want to redirect from a file - that may or may not no longer exist in /sites/default/files, for example, /sites/default/files/myfile.pdf to /new-location. This doesnt work with the redirect module on nginx. It would be fairly simple with .htaccess but obviously we are not using that with nginx. Does anyone know how to make that work?

EdViva avatar Jul 21 '16 11:07 EdViva