If any valid language translation node url is accessed with Fast_404 module enabled with the below setting on then it throws Fast 404 Error message though the translation node URL is valid and it does exists.

$settings['fast404_path_check'] = TRUE,

Examples of language translation node URL's
http://test.com/en/node/111111
http://test.com/en/node/111111/edit
http://test.com/en/node/213341/latest
http://test.com/ae-en/node/111111
http://test.com/en/admin/workbench

Resolution: To prevent this In the "pathCheck" method of Fast404.php file we should call the language path prefix block of code above the select query pattern match which eventually checks for stripped language prefix in the url_alias table and allows language translation node pages to go through fine. Please find attached the patch for this fix.

Comments

ismail08 created an issue. See original summary.

ismail08’s picture

Issue summary: View changes
StatusFileSize
new2.47 KB

Status: Needs review » Needs work

The last submitted patch, 2: language_translation_node_issue-2981173-1.patch, failed testing. View results

ismail08’s picture

StatusFileSize
new2.48 KB
gg4’s picture

Status: Needs work » Closed (duplicate)

Looks like a duplicate of #2820923: Fast404 path checking is incompatibility with multilingual paths . Please help move that issue forward, if possible.

rajab natshah’s picture

rajab natshah’s picture

Duplicate