• I’ve installed latest v wordpress 4.6.1, create some pages and posts, when i chose postname in permalinks it appears in my site urls, but 404 error like this: The requested URL /games/ was not found on this server.
    The .htaccess file i think is fine:

    # 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

    Also, mod_rewrite in apache2 is active..

    So, where is the problem.. Please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Since you mentioned mod_rewrite, I’m assuming your running this on your own VPS or dedicated server *and* you are using Apache. If so, in your httpd.conf or apache2.conf file, add these lines:

    <Directory /path/to/wordpress>
       AllowOverride All
    </Directory>

    where /path/to/wordpress is the directory in which you’ve installed WordPress. After adding this, restart httpd or apache2.

    Thread Starter bensalem81

    (@bensalem81)

    Thank you for help.. But still not working..
    And I getting this error :

    You don’t have permission to access /wp-admin/options-permalink.php on this server.

    And yes, i’m running my own VPS and using ubuntu 14.04 lts with apache2 and php7.0 .

    Any other Ideas?

    • This reply was modified 8 years, 2 months ago by bensalem81.
    • This reply was modified 8 years, 2 months ago by bensalem81.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 Error Permalinks’ is closed to new replies.