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:
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.
I could finally fix this issue in my MacOS Catalina. And what really worked for me was. Making changes to /etc/httpd/httpd.conf file. Making Override none to All and furthermore following @CodeDiary user’s instructions and uncommenting following 2 lines of code from the same file.