Ok So you are working on your wordpress site. Making changes and updating your site when all of a sudden you get…
Before the panic sets in go to your .htaccess file and check that all is as it should be. For example when this happened to me last time this is what my file looked like.
notice the first and second last lines
# BEGIN # BEGIN Wo<IfModul<IfModule mod_rewrite.c>
</IfM# END W
well this means that during the last save your .htaccess file has become corrupt. There are a plethora of reasons why the .htaccess can become corrupt for example the .htaccess above was corrupted when my internet connection dropped out for a few seconds while the file was being written.
So how to fix this problem. You could try correcting the problem lines. If you know what the correct lines should look like. If you don’t know what the corrupted lines should look like you can delete the corrupted .htaccess file all together. Then in the wordpress dashboard open either a post or a page and save it, you don’t even need to make any changes and your .htaccess file will be re written. Simple huh?