469,342 Members | 6,660 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,342 developers. It's quick & easy.

Htaccess rewrite 301 redirect problem

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.
Oct 11 '20 #1
0 1492

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by bagsmode | last post: by
4 posts views Thread by Van Duijn | last post: by
reply views Thread by Volkan Karaboša | last post: by
6 posts views Thread by Valeri Hristov via .NET 247 | last post: by
2 posts views Thread by Oney | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by haryvincent176 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.