I’m using Lighttpd on my server installation, and permalinks went fine with PHP FastCGI. But recently I change FastCGI with PHP-FPM and my custom permalinks no longer working.
Everytime I click a post / page, wordpress just brings me to the home / frontpage. My custom permalinks is like this /%postname%-%post_id%.html
But if I use custom permalinks like /index.php/%postname%/ or /index.php/archives/%post_id% (include the index.php) it works! But that is not what I want..
I tried using server.error-handler-404 = “/index.php” on lighttpd.conf but still no luck.
Any help would be greatly appreciated.
Thanks!
yes you’re right, i have to use mod rewrite. my rewrite rules are like this:
and now it works perfectly. Thanks!