Support » Plugin: Quick Page/Post Redirect Plugin » index.php path doesn't seem to work – no input file specified

Viewing 1 replies (of 1 total)
  • That sounds like a .htaccess file error.

    Go to your settings/permalinks to rebuild your permalinks and then try again.

    Additionally, if you want to eliminate any 404 errors, you could add this to your functions.php file. It will redirect all 404s to an actual existing page (change the /new-location-page-here/ page URL below to the one you want them redirected to):

    add_action('template_redirect','personal_404_redirect_override',1);
    function personal_404_redirect_override(){
          global $wp;
                if(!is_admin() && is_404()){
                      wp_redirect('/new-location-page-here/',301);
                      exit;
                }
          }
    }

    Hope this helps,
    Regards,
    Don

Viewing 1 replies (of 1 total)
  • The topic ‘index.php path doesn't seem to work – no input file specified’ is closed to new replies.