Hey Guys,
Apologies for this 'possibly' noob question. I've written basic mod_rewrite rules which works well, but there is one I can't seem to get working. I've tried many rules, looked at many examples, but to no avail and now that deadline is tomorrow, I'm getting desperate. So what I want to happen is this:
http://sub.domain.com/foo/bar/page?s=32 ... ifications
...needs to become...
http://sub.domain.com/page?s=3263,0,0,0 ... ifications
NOTE: "3263,0,0,0,177,0,Qualifications" changes with every page - the numbers and words.
This is where I'm at now. I know it's wrong, just have NO idea what to do about it or how it should look (ie. to remove "/foo/bar/ and keep the rest).
RewriteEngine On
RewriteRule ^([^/]*)\$ /foo/bar/page?s=$1 [L]
Thanks,
Charl