0

I have url www.domain.com/game.php?name=football and it dynamically get 'football' datas, and I want do the same with www.domain.com/football

How can I make it with .htaccess?

Thank you.

qartve
  • 53
  • 1
  • 6
  • 1
    Search `url rewriting htaccess` on google, and you will find [this](http://stackoverflow.com/questions/16388959/url-rewriting-with-php) question. – Federkun Oct 24 '15 at 22:54

1 Answers1

0

Just Turn on rewrite engine in your htaccess and add

RewriteRule ^(.*)$ game.php?name=$1 [QSA,L]