I did a brand new wordpress setup for a client and when I went to the permalinks settings it was blank. No options to change the permalink structure from the awful default settings. I found out a fix for it and thought I’d share it with you.
The file that should display is /wp-admin/options-permalink.php, but the problem file turns out to be wp-admin/includes/misc.php
Look for the line that reads:
$got_rewrite = apache_mod_loaded(‘mod_rewrite’, true);
It should be close to the top of the code. Change it to read:
$got_rewrite = true;
Someone correct me if I’m wrong, but as I understand it, you are changing a conditional statement to an absolute one by doing this. I’m not sure why it’s causing a problem, but that fixed it for me.