I have problem with seo friendly url. I've try to change my url with .htaccess and off course I have problem.

My link in header for my contact page is like this:

Code:
<a href="index.php?=contact">contact</a>
So I wrote rules in .htaccess like this:

Code:
Options +FollowSymLinks

RewriteEngine On
RewriteRule ^contact index.php?=contact
And off course changed my link in header to be like this:

Code:
<a href="contact">contact</a>
And now when I click on contact on header I get nice url like this:

Code:
www.mywebsite.com/contact
But website lead me always to home page (index.php).



What did I wrong?