I mean the ‘cute’ version of permalinks – all I could do was to set up the ‘/index.php/ version and all my internal and incoming links got broken.
The standard WordPress .htaccess didn’t work – it was the first thing I did while trying to restore the things they used to be.
Finally, I’ve come up to a lame solution, but it works. I changed the /wp-includes/vars.php file and instead of this:
$is_apache = ((strpos($_SERVER[‘SERVER_SOFTWARE’], ‘Apache’) !== false) || (strpos($_SERVER[‘SERVER_SOFTWARE’], ‘LiteSpeed’) !== false)) ? true : false;
I have:
$is_apache = ((strpos($_SERVER[‘SERVER_SOFTWARE’], ‘Apache’) !== true) || (strpos($_SERVER[‘SERVER_SOFTWARE’], ‘LiteSpeed’) !== false)) ? true : false;
but now every time I update WordPress I’ll have to remember that vars.php needs to be modified again.
It looks like my server didn’t realise it’s got mod_rewrite on.