It doesn't work.
I get the same result
I am getting to a correct page: games_details.php, but I don't get sent parameter value (game_id)
Thanks anyway
Main Topics
Browse All TopicsHi to all,
I am trying to change this url: games_details.php?game_id=
This is a .htaccess file I'm using:
RewriteEngine On
RewriteRule ^games_details/([0-9]+)$ games_details.php?game_id=
but it doesn't work.
What am I doing wrong?
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Did you restart the web server after making that change?
Are you using the rewrite log at all? If not, find a handy place to store it (perhaps /var/log/rewrite.log), and try this:
RewriteEngine On
RewriteLog /path/to/log/file
RewriteLogLevel 9
RewriteRule games_details/^([0-9]+)$ games_details.php?game_id=
Once you drop those lines in, restart the web server and browse to your rewrite URL. Post the entries from the log file here.
I'm placing my rules in .htaccess file.
Can you explain me please where I have to put these lines:
RewriteEngine On
RewriteLog /path/to/log/file
RewriteLogLevel 9
RewriteRule games_details/^([0-9]+)$ games_details.php?game_id=
When I put it in .htaccess I get Internal Server Error.
Thanks a lot for helping me
My apologies. The RewriteLog and RewriteLogLevel belong in the vhost definition, or in the main server config. It is a server- or site-wide configuration item.
In your main server config:
RewriteLog /path/to/log/file
RewriteLogLevel 9
In your .htaccess file:
RewriteEngine On
RewriteRule games_details/^([0-9]+)$ games_details.php?game_id=
Yes I'm sure that mod_rewrite is available.
RewriteLog:
127.0.0.1 - - [01/Jun/2007:09:14:44 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:44 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:44 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:45 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:46 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:46 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:46 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:09:14:46 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:11:29:52 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:11:29:52 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:11:29:52 +0200] [localhost/sid#26bf58][rid
127.0.0.1 - - [01/Jun/2007:11:29:52 +0200] [localhost/sid#26bf58][rid
.htaccess:
RewriteEngine On
RewriteRule ^games_details/([0-9]+)$ games_details.php?game_id=
Thanks again for trying to help
Business Accounts
Answer for Membership
by: ingwaPosted on 2007-05-30 at 09:48:10ID: 19181509
Hi, try this:
$1
RewriteEngine On
RewriteRule games_details/^([0-9]+)$ games_details.php?game_id=