.htaccess with wordpress

I have a wordpress blog hosted on Dreamhost.
I am trying to change permalinks to remove the default numbers in the url.
Getting message

“If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file.”

I am guessing this has to be done in Dreamhost htaccess/webDAV under goodies but not exactly sure how to go about it.

Any help greatly appreciated.


I think http://codex.wordpress.org/Using_Permalinks and http://codex.wordpress.org/htaccess_for_subdirectories will be helpful for you.

for me it worked:

BEGIN WordPress

RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress

I have the same code that anand has, one way around is to download the .htaccess file with FTP, edit it adding those rules and upload it back, but I never did this, Wordpress wrote the rules for me I don’t know why it doesn’t work for you.