Frank_Rizzo - 6:31 pm on Feb 21, 2013 (gmt 0)
OK read those similar posts.
Having the database ID on the end will get around the name aliasing problem. The correct name will always be found because it will search the id rather than on the name, which may have missing apostrophes. Calling this:
I can rewrite that to call this:
RewriteRule ^hockey\-profile\-.*/([0-9]+)$ php/sportsperson.php?sport=hky&id=$1 [NC,L]
That's fine. Now I need to rewrite the other way, so that any existing links to the old pages will 301 to the new format?