I'm pretty new to this and was wondering how to turn my site URLs into SEO friendly URLs using .htaccess and mod_rewrite?
My URLs take the form mydomain.com/index.php?pid=1&pagename=Some Page
I would like it be mydomain.com/Some Page
OR
mydomain.com/somepage.html
I know this is possible with mod_rewrite and .htaccess, but I'm having trouble finding an exact answer on how to accomplish this?