Closed (fixed)
Project:
Redirect
Version:
8.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2019 at 18:45 UTC
Updated:
1 Mar 2020 at 08:48 UTC
Jump to comment: Most recent
Redirect (8.x-1.4) returns a 404 when the Path contains "url".
For example:
Path: http://www.XXXX.com/url/abc
To: http://www.website.com
Returns 404.
Taking out "url" and the redirect works fine:
Path: http://www.XXXX.com/abc
To: http://www.website.com
On D8.7.6
Comments
Comment #2
ptgraber commentedComment #3
iancawthorne commentedOddly "url/abc" as a redirect works fine for me, however I'm seeing the same problem for a different redirect.
/barn will 404 when I have created a redirect to another internal url.
I'm not sure if this is the same problem and I'm not sure what the pattern is for some redirects to not work.
Comment #4
iancawthorne commentedI managed to find the problem I was having, so will post it here in case it's the same issue and may be of help. The redirect in question had previously had a piece of content with the same path generated by the pathauto module.
When the content was deleted, the pathauto alias was not getting deleted with it. As soon as I deleted the alias manually the redirect then worked.
The solution to stop it happening again was to update to the latest release of pathauto (1.5).
I'm sure there is a ticket on the pathauto module which fixed this, but I haven't been able to find it as of yet.
Comment #5
amateichuk commentedPerhaps the problem is related to Does not work for path alias issue. After applying patch #57 all links with '.../url/...' working fine for me.
Comment #6
amateichuk commentedComment #7
pifagor commentedComment #8
pifagor commentedComment #9
pifagor commented