I just upgraded my OSX
to El
Capitan and it messed up my apache
environment.
I am running my projects in /Users/username/Sites
.
After the upgrade I found out that /etc/apache2/httpd.conf
was reset to default
so I had to setup again by following this Link
But after fixing the configurations, when I tried accessing the wordpress
site, the permalink is not working anymore.
The top page and admin page is working. But when I navigate to other page, it's not working and I am getting this error:
Not Found
The requested URL /en/ was not found on this server.
Not Found
The requested URL /workshop was not found on this server.
I already tried to update the permalink. I checked my .htaccess and it's writable. But still, the permalink won't work.
I think the one step that guide missed is to add this in your vhost:
<Directory /Users/username/sites>
AllowOverride All
</Directory>
Without the AllowOverride directive, the .htaccess file in your site's WordPress directory will be ignored.
You will also need to enable the Rewrite module as you mentioned in your comment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With