Closed (fixed)
Project:
Path redirect
Version:
6.x-1.0-beta4
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2009 at 19:58 UTC
Updated:
20 Aug 2010 at 17:40 UTC
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
Comment #1
dave reidYou'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.
Comment #2
beckyjohnson commentedOk. 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
Comment #3
dave reidNot 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.
Comment #4
dave reidSince 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.