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:
So I wrote rules in .htaccess like this:
RewriteRule ^contact index.php?=contact
And off course changed my link in header to be like this:
And now when I click on contact on header I get nice url like this:
But website lead me always to home page (index.php).
What did I wrong?