This OJS 3.1.2.0 functionality: [OJS 3.2.4.1] Readers can't view pdfs - #6 by asmecher auto-forwards links to missing public files to the built-in Search form.
We tried virtually every .htaccess redirect command that there is, and none is working - a missing file (say, withdrawn article, reissued article, a corrected article under new ID, etc.) is always redirected to Search regardless.
Q1: Can the above PHP code (the line 542: $request->redirect(null, 'search');
) be safely removed or edited in a way that ensures bypassing of this functionality, meaning allowing for .htaccess redirects to work normally?
Q2: If there isn’t, is there a direct .htaccess command/some Apache server settings that would enable .htaccess redirects to bypass the above functionality/enable .htaccess to take precedence over OJS in this regard?
1 post - 1 participant