• Hi there,

    I’ve installed WordPress and recently used MU to enable me to make a few more sites without having to do fresh installs all the time.

    However,
    I’ve now I am trying to build a separate folder on my server, called scripts, so I can test a few php scripts I have made.
    However, when I try and open those scripts, the wordpress 404 page takes over and says it can’t find this.
    I know it has something to do with permalinks and my .htaccess file… but I’ve no idea how to fix it.
    Any help?
    Below is my .htaccess file…

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    </IfModule>
    # END WordPress

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Separate PHP files show up as a 404’ is closed to new replies.