Hi
i have done a pagination class and i am getting some $_GET variables and use the class to paginate and return the appropriate data and pages. i need my urls to be :
http://mysite.com/teams/{team_name}/page/{page_number} e.g :
http://mysite.com/teams/chelsea/page/2
here is my regex :
RewriteRule ^teams/([^.]+)/page/([0-9]+)(/?)+$ group.php?name=$1&page=$2 [L]
i have tried this too :
RewriteRule ^/teams/([^.]+)/page/([0-9]+)(/?)+$ group.php?name=$1&page=$2 [L]
i have tried some other options like (.*) or (.*?) ...
unfortunately non of the above worked, i don't know what else i should try. i would appreciate any help!
Thanks