Support » Fixing WordPress » Permalink structure error: htaccess looks fine

  • 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]
    # 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?

Viewing 1 replies (of 1 total)
  • 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..

Viewing 1 replies (of 1 total)
  • The topic ‘Permalink structure error: htaccess looks fine’ is closed to new replies.