• I recently converted a client’s static site to WordPress. The WordPress install works fine, but not static html files load WordPress and say the file isn’t there. It has something to do with the .htaccess rewrites. I’ve removed the .htaccess file and then the static files show up just fine. It has something to do with the WordPress part of the .htaccess file.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    If I remove that the static files show up fine. Any advice on what I can change? All the files are in one directory called /downloads if that helps that something can be added to the .htaccess file specifically mentioning that directory.

    Thanks

  • The topic ‘static html files showing 404 after WordPress install, though files are there’ is closed to new replies.