i got a problem when trying to change my permalink to custom /%postname/, it said i should update my htaccess, and when i get it back to default they doesn't work.so i got 404 bad request now..
and how to update htaccess? here's my htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
When I did a permalink change recently I used a redirect plugin to handle it. Give it a go and see if it works for you: http://scott.yang.id.au/2008/07/permanent-redirect-20-released/
Read this post first - http://www.nyn9.com/wordpress/tips-tricks-hacks-wp/importance-of-pretty-permalinks/ then follow what is written there and everything should work out smoothly..
The main thing when changing your permalink structure you need to make sure WordPress can write to your .htaccess file.
If it says you to update the .htaccess, than do that. To learn how to do that, read here: http://codex.wordpress.org/Using_Permalinks. Good luck!
Open up your ftp browser and go to the public_html folder. There you'll see a file called htaccess. Download it. Make a copy of the original file. Then open up the copied htaccess with notepad. There should be something alienlike written there, below that paste the code you have given us here which was generated by wordpress after updating your permalinks. After pasting it save the htaccess file and upload it in the public_html folder overwriting the existing htaccess file. Check your blog and it will work. Cheers.