No matter what redirect path I'm using I get the error
The redirect path 'test' is either invalid or you do not have access to it.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | drupal redirect module - add url redirect.png | 6.96 KB | markusd1984 |
| #5 | drupal redirect module.png | 30.39 KB | markusd1984 |
Comments
Comment #2
anu17 commentedHi @markusd1984
If you will give any path alias in the redirect path field, the error you are facing will occur, hence give internal path like node/2 in this field
Also giving path alias in path field also doesn't allow the redirection to happen, hence give internal path there as well. eg node/4
I hope that helps you.
Thanks
Comment #3
markusd1984 commentedHi @Anu17
Thanks for clarifying, I didn't realise that path aliases are not supported,
which is what I'm actually interested in, when changing an alias to ensure the old one is still reachable.
I think a note on the module description could really help ;)
Btw. was this not implemented due to complexity or perhaps restrictions in drupal?
Comment #4
KaedSaugos commentedit seems that ONLY an external path can be used. This text included below the field is very misleading
"This redirect path can be internal Drupal path such as node/add Enter to link to the front page"
Comment #5
markusd1984 commentedI ended up using https://www.drupal.org/project/redirect module instead.
Very easy to use, supports internal Drupal path, path alias, or complete external URL.
Also when accessing an internal path alias that does not exist, one can immediately create that "add url redirect". i.e. visting https://drupalserver.com/newaliasthatdoesnotexist
Comment #6
grask0 commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.
If the issue remains relevant for D8.8+ versions, merge requests with proposed solutions for a new module version (D10) are welcome in a new follow-up issue.
Thanks!