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.

Comments

markusd1984 created an issue. See original summary.

anu17’s picture

Hi @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

markusd1984’s picture

Hi @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?

KaedSaugos’s picture

it 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"

markusd1984’s picture

I 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.

rediret module

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

add url redirect

grask0’s picture

Status: Active » Closed (outdated)

D7 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!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.