I get the following error:
The destination "/mnt/foobar.xls" URL/path does not exist.
This path is however reachable, but it's not a path which is being served by Drupal. It's a redirect to a mounted disk, so it's not an actual file in that relative directory.
Moreover the redirect module lets me input this redirect manually without any errors.
It would be nice to have an option to skip this destination check.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | path_redirect_import-7.x-1.0-rc4-skip_destination_check-2174149-1.patch | 1.72 KB | Sneakyvv |
Comments
Comment #1
Sneakyvv commentedAttached patch which adds such option to the import form.
Comment #2
farse commentedthanks!
this is also relevant for migrating old non-drupal multilingual site links as the old language links in my case give no indication that it is a non-english page (ie. from: 3267/Espa_ol/Servicios/) , so essentially I have had to create all the redirects as 'english' redirects and then hardcode the language code into the redirect ie.(to: 'es/taxonomy/term/1')
Comment #3
azovsky commentedThank you! It is working good.
Comment #4
Sneakyvv commentedI'm going to RTBC this now.
Comment #5
omniat commentedThanks works great and very useful.
Comment #6
osopolarJust in case, someone wants to create a redirect to a path which gets already redirected, have a look at the issue #2012190: Add support for "To URLs" pointing at redirects.
Comment #7
stephaneqI confirm too, it's working for my case (same as farse, old multilingual website to redirect)