The module will not re-direct paths that involve /sites/files/filename.pdf. When re-directing from page to page or view to view it works but when I try to go from /sites/wimaxforum.org/files/documentation/2009/wimax_forum_device_public_key_infrastructure_certificate_policy.pdf to

/sites/wimaxforum.org/files/WiMAX Forum_X.509_Device_Certificate_Profile.pdf

It work work.... It goes back to the file at the original url.

Is this normal?

Becky

Comments

dave reid’s picture

Status: Active » Postponed (maintainer needs more info)

You've entered the paths without the beginning slash right? Also make sure you are using the latest code (as well as the latest pathauto 6.x-1.x-dev if you're also using that).

I was able to create and test a redirect from:
sites/wimaxforum.org/files/documentation/2009/wimax_forum_device_public_key_infrastructure_certificate_policy.pdf
to:
sites/wimaxforum.org/files/WiMAX Forum_X.509_Device_Certificate_Profile.pdf
just fine.

beckyjohnson’s picture

Ok. I think I will upgrade the module and upgrade pathauto and see how it goes. And yes, I did enter it with out the begining slash. I'm going to test it out more and post back.

Also, I noticed that when I deleted sites/wimaxforum.org/files/documentation/2009/wimax_forum_device_public_key_infrastructure_certificate_policy.pdf and then went back to deliberately test the file path out to see if the file was still there, it was, even though it was showing as no longer attached to the node. Is this normal?

Becky

dave reid’s picture

Not sure. Also keep in mind that path_redirect cannot override paths of files that exist because Drupal doesn't get a chance to execute in that case.

dave reid’s picture

Status: Postponed (maintainer needs more info) » Fixed

Since I haven't heard back from you, I'm marking as fixed. If you can re-confirm the bug with the latest code and provide more details, feel free to change the issue's status back to active.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.