homepage Welcome to WebmasterWorld Guest from 54.161.202.234
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
setting variables and having clean urls in htaccess
setting variables and having clean urls in htaccess
the little mermaid




msg:3999645
 3:59 am on Oct 2, 2009 (gmt 0)

Hi to all

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

 

jd01




msg:3999676
 5:29 am on Oct 2, 2009 (gmt 0)

Hi the little mermaid,

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. :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved