WordPress Tutorials
The Default WordPress .htaccess File
WordPress owns seven lines of this file and regenerates them on demand. Everything else in it was put there by you, a plugin or the host, and that distinction is the whole troubleshooting method.