WordPress.org

Forums

Permalink structure error: htaccess looks fine (2 posts)

  1. Rhand
    Member
    Posted 5 years ago #

    I have copied my online website and put it on my local server for adjustements. I have changed the permalink structure and the htaccess is CHMOD 777 and adjusted:

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

    But when I go to one of my pages http://localhost/dnet/contact I get a 404 error all the same. I am at a loss. Done this a million times, but now it just won't work locally. Could it be that my local server has no modrewrite? How do I find out?

  2. Rhand
    Member
    Posted 5 years ago #

    Well I added sudo a2enmod rewrite but apparently is is already enabled, but does not work!? Without pretty urls the site works just fine. Still looking..

Topic Closed

This topic has been closed to new replies.

About this Topic