I need to turn a query string like this:
http://localhost/view.php?id=12345
Into this:
But, I also plan on having a string on the end of the URL for search engines to benifit from, like so:
http://localhost/12345/NameOfTheSkin
Kind of like how Wowhead do their URL's:
http://www.wowhead.com/item=49623/shadowmourne
Notice how you can change the string "shadowmourne" into anything and it'll still point to the item id 49623
.
Basically, I need the string on the end to be ignored.
Any help is appreciated, cheers. :)