Empty permalinks settings in .htaccess

Permalinks not working other than set to “Default’. I want to change it to /%postname%.html, and default .htaccess is as follows:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

But sometimes it becomes …

Read More
# BEGIN WordPress

# END WordPress

… whenever I change the settings of Permalinks. I already change the permission of .htaccess to 777 and mod_rewrite is working. AllowOverride All has been set to my working directory. Any ideas?

Related posts