Custom variables, rewrites, redirects, etc.
-
Hi All:
Not sure if this is the right place to ask, but I am in the process of converting a hand coded (PHP) baseball statistics site to wordpress’ CMS and wanted to know if what I wanted to do is accomplishable (is that a word lol).
This may be confusing, but currently when calling a baseball player’s career statistics, I set up the following:
1. the file player.php?playerid=(playerid)
2. this pings my database and returns the player’s first name and last name and redirects the url to player.php?playerid=(playerid)&firstname=(firstname)&lastname=(lastname)
3. this gets rewritten as: /player/(playerID)/(firstname).(lastname).html(the rewrite, and pulling of the player’s first and last name is done for SEO purposes)
so for instance if i wish to look up david wright (who’s playerid is wrighda03) i simply call /player/wrighda03/david.wright.html
is there any way to do that by creating a “page” in wordpress?
let me know if this does not make sense!
thanks,
matstars
- The topic ‘Custom variables, rewrites, redirects, etc.’ is closed to new replies.