Support » Fixing WordPress » need a .htaccess file, but this causes problems

  • My site is an html site with a WordPress installation. To get WP to work I need an .htaccess file with the following code.
    # 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]
    # END WordPress

    But if a page in the normal html is not shown I get a 404 inside WP.

    How can I keep WP and the html separate for 404’s?


  • The topic ‘need a .htaccess file, but this causes problems’ is closed to new replies.