Before you jump the gun, and say, what the heck is this guy thinking, let me explain.
I have an NBA player database, in which player files are accessed in the following way:
http://........./nba/profile.php?player_id=123
with 123 equaling whatever player_id it is they are looking for.
The problem is that many search engines will not accept a URL such as this and this is a very important part of my site for searching. I could get some traffic from people searching for any of the 400+ players in my database if I can get them indexed.
So, what I am considering is the following:
Submitting non-existent files such as http://......./nba/profiles/michael_jordan.php
to the engines and then have a 404 file in the /nba/profiles/ directory that figures out the $REQUEST_URI and queries the database to find out what player_id that player refers to. Note that /nba/profiles/michael_jordan.php DOES NOT exist.
Also, note that this is not a redirection thingy. The user will actually be looking at the 404 file which, through some programming, included the contents of the appropriate player's file.
I don't know if I explained this well so feel free to ask questions.
Thanks in advance.
I have an NBA player database, in which player files are accessed in the following way:
http://........./nba/profile.php?player_id=123
with 123 equaling whatever player_id it is they are looking for.
The problem is that many search engines will not accept a URL such as this and this is a very important part of my site for searching. I could get some traffic from people searching for any of the 400+ players in my database if I can get them indexed.
So, what I am considering is the following:
Submitting non-existent files such as http://......./nba/profiles/michael_jordan.php
to the engines and then have a 404 file in the /nba/profiles/ directory that figures out the $REQUEST_URI and queries the database to find out what player_id that player refers to. Note that /nba/profiles/michael_jordan.php DOES NOT exist.
Also, note that this is not a redirection thingy. The user will actually be looking at the 404 file which, through some programming, included the contents of the appropriate player's file.
I don't know if I explained this well so feel free to ask questions.
Thanks in advance.