Forum Moderators: phranque
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
Welcome to WebmasterWorld!
So I just wanted a couple of resources where I can learn about htaccess.
If you only want a couple I can't help you too much, because there's a bunch in the Library and the Charter. (The links are right below Apache Web Server at the top of the pages in this forum.)
The resources include: Changing Dynamic URLs to Static URLs [webmasterworld.com], which happens to be what you are asking how to do. :)