WordPress.org

Ready to get started?Download WordPress

Forums

need a .htaccess file, but this causes problems (1 post)

  1. Drachsi
    Member
    Posted 1 year ago #

    My site http://www.drachsi.com 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]
    </IfModule>
    # 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?

    Regards
    Drachsi

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags