Hello,

I try to make a rewrite system to direct users the way I want, but I keep getting errors. The code I wrote:

RewriteRule ^(games)/(.*)$ games.php?id=$1 [L]

I want to redirect these pages from games.php. I had to do a 301 redirect, but it didn't work even though I added [R=301]. How do I fix the error, I would be glad if you could help me.

Best regards.