Permalink error 404 localhost Mac

What am I doing wrong? Why is always returning a 404 error?

site URL: http://localhost/projects/siteab

httpd.conf

DocumentRoot "/Users/admin/Sites/"
<Directory "/Users/admin/Sites/">
    Options FollowSymLinks Multiviews
    MultiviewsMatch Any

    AllowOverride All

    Require all granted
</Directory>

admin.conf

<Directory "/Users/admin/Sites/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride All AuthConfig
    Order allow,deny
    Allow from all
</Directory>

.htaccess

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

# END WordPress

Read more here: Permalink error 404 localhost Mac

Leave a Reply

Your email address will not be published. Required fields are marked *