olli460 Posted September 28, 2009 Share Posted September 28, 2009 Hello, Ive got a wordpress blog and i uploaded a file called submit.php When i try and load it in my browser it just redirects saying no file found. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Quote Link to comment https://forums.phpfreaks.com/topic/175797-single-php-file-getting-redirected-too/ Share on other sites More sharing options...
trq Posted September 28, 2009 Share Posted September 28, 2009 This line.... RewriteRule . /index.php [L] should be.... RewriteRule (.*) index.php [L] though it shouldn't effect your problem. Quote Link to comment https://forums.phpfreaks.com/topic/175797-single-php-file-getting-redirected-too/#findComment-926348 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.