Hello,
Just wondered if someone could help me.
Currently I have url's being re-written from
domain.com?page=Table to domain.com/Table.
I would like to extend this to include
domain.com/index.php?page=TeamProfile&teamid=22 to something like
domain.com/TeamProfile/2
This is what i currently have
Any help would be appreciated
Cheers,
Just wondered if someone could help me.
Currently I have url's being re-written from
domain.com?page=Table to domain.com/Table.
I would like to extend this to include
domain.com/index.php?page=TeamProfile&teamid=22 to something like
domain.com/TeamProfile/2
This is what i currently have
Any help would be appreciated
Cheers,
Code:
RewriteEngine on
RewriteRule ^([A-Za-z0-9-]+)/?$ index.php?page=$1 [L]