I have a multilingual website that used to be a Wordpress installation. As a result paths to specific files are built likes this: wp-content/uploads/2013/11/myfile.pdf. My goal is to redirect them to sites/default/files/pdf/myfile.pdf. However, whatever configuration I make, the i18n prefixes cram theirselves in there which results in a broken link after all.
This is my setup:
Pattern:
wp-content/uploads/2013/11/*
wp-content/uploads/2013/12/*
Target:
sites/default/files/pdf/*
Status code: 301
(None of the extra options checked)
I guess this module is not equiped yet with a functionality to deal with language prefixes, hence the feature request status. Correct me if I should be mistaken here.
Comments
Comment #1
dshields commentedUsing this patch, I'm able to use absolute paths in my target field.
Maybe this will help?
Comment #2
prajaankit commentedthat the correct thing.
Comment #3
ykyuen commented#2 works. thanks.