Its my first time here. I needed some htaccess help. Actually I have an already made project at the workplace where there are certain htaccess rules made up. So I just wanted a couple of resources where I can learn about htaccess. There is a $req variable used which I think is a standard variable. Also I want to know how variables are passed in htaccess.
Also there are clean urls. For eg. I have made a pagination for certain 100 records and the url looks like http://example.com/$page=page1.php?var=1 which I would want like this: http://example.com/1 i.e. just the page number and nothing else in the url.
Please if anyone can point me in the right direction. Thanks