Reputation: 3
Basically I have seen some examples on this forum however mine is pretty straight forward and I havent been able to locate just my case.
1) I need to change this url: domain.com/page.php to domain.com/page 2) I need to change this url: domain.com/page.php?ID=1 to domain.com/page/1 -> 1 being any number between 1 and infinity
All this running on Apache server.
Thanks,
Update
Any one has any idea? I feel I am so close to getting this working. Please help!
Upvotes: 0
Views: 179
Reputation: 1188
Can use a regex based rule...
RewriteRule ^page/([0-9]+)/?$ page.php?id=$1
Upvotes: 1