I’m on Ubuntu and using LAMP for local dev. I’ve several WordPress installations for different project and tried to set custom permalinks on all of them, but only default permalink setting ( http://localhost/wpinstalation/?p=123
) works, other settings are giving 404 error. Any idea how can I fix this?
George
I had the same problem. It sounds like you don’t have rewrites turned on in your installation.
Find your httpd.conf file, find the following line:
And remove the # at the beginning so it looks like this:
Save and then restart the service. Custom Permalinks should now work. There might be an easier way but I’m not familiar with Linux