Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm attempting to create a couple of redirects and keep getting this error -
You cannot create a redirect from a currently valid path.
This is NOT a valid path, thus the reason for the redirect.
I've got a search Engine's throwing 404's on a few invalid path's I have and would like to resolve this.
Comments
Comment #1
Dave ReidWhat paths are you trying to create redirects for?
Comment #2
marcus0263 CreditAttribution: marcus0263 commentedI was "adding", like for example -
www.mysite.com/forum/blah
to
www.mysite.com/forum/scuttlebutt/blah
I cleared the cache, disabled/re-enabled then cleared the cache again to no avail.
This didn't start until I upgraded to beta-5
Thanks
Comment #3
marcus0263 CreditAttribution: marcus0263 commentedHere's one of the problem links
http://www.rejecttheherd.net/forum/arts-and-entertainment/london-after-m...
I need to change it to the valid link of -
http://www.rejecttheherd.net/forum/pub/arts-and-entertainment/london-aft...
Comment #4
Dave ReidIs forum/arts-and-entertainment/london-after-midnight a currently valid URL alias on your site? If so, then it's technically a valid path since it returns content and not a 404 page. If you want to redirect, you need to delete the URL alias first.
Comment #5
marcus0263 CreditAttribution: marcus0263 commentedNo it's not a current alias, it was at one time 'bout a year ago hence the reason why it's in google cache and the bot's are trying to hit it.
Comment #6
marcus0263 CreditAttribution: marcus0263 commentedI just upgraded to beta6 and still getting this error -
The source path forum/ministry-truth/myth-passport-security is a currently valid path. You cannot override existing paths. You can however, create URL aliases for them.
The url's I'm trying to create a redirect for are not valid but "where" at one time, thus the reason for creating a redirect.
http://www.rejecttheherd.net/forum/ministry-truth/myth-passport-security
I is *****NOT***** a valid path and I do not have an alias to this path.
The correct path is -
http://www.rejecttheherd.net/forum/big-brother/ministry-truth/myth-passp...
Comment #7
marcus0263 CreditAttribution: marcus0263 commentedApplied the patch kmonty created, resolved my issue
http://drupal.org/node/648500#comment-2333422
Comment #8
Dave Reid@marcus0263 The problem is that the path http://www.rejecttheherd.net/forum/big-brother/ministry-truth/myth-passp... is valid because it does not 404 for me. Looks like it still is a path alias which points to a valid path, which is what is not allowed. Therefore, this is a duplicate of #615008: "Forced" path redirect - override the existing path or alias.
Comment #9
Dave ReidNevermind, I was wrong about the path. That's odd. Either way, this is a duplicate of one of the overriding issues.
Comment #10
JordanMagnuson CreditAttribution: JordanMagnuson commentedI am also getting an INCORRECT existing path notice form path redirect:
Even though pages/marisa-lerin/readyokay IS NOT a currently valid path, and is throwing a 404 when visited.
Comment #11
JordanMagnuson CreditAttribution: JordanMagnuson commentedI'm marking this as active, as I cannot find another issue regarding INCORRECT existing path notices. Everything else seems to be about forcing redirects on paths that DO actually already exist.
Comment #12
JordanMagnuson CreditAttribution: JordanMagnuson commentedSorry for the multiple posts... just clarifying the title.
Comment #13
JordanMagnuson CreditAttribution: JordanMagnuson commentedSincere apologies. This is in fact a duplicate of: http://drupal.org/node/648500