I just installed WordPress 3.0.4 on a GoDaddy hosted server. And I've been having a problem with my .htaccess file. For some reason, WordPress automatically erases all the mod_rewrite configuration settings in .htaccess file whenever I view the WP admin page for setting permalinks. Deleting the .htaccess file kinda defeats the purpose of that page.
I've been able to do create a workaround by just manually entering the configurations into the .htaccess file and never visiting the permalink configuration page. But this doesn't feel like a good solution.
Can anyone share thoughts about what might be causing this?
Thanks! David
.htaccess
files, or only the ones WordPress adds? It does re-write the file when you visit the Permalinks page, so if you have extra rules you should add them via the WordPress API ($wp_rewrite->add_external_rule()
). (Use@Jan
in your reply and I get a notification)