Results 1 to 2 of 2

Thread: Simple .htaccess rewriting

  1. #1
    Join Date
    Mar 2009

    Simple .htaccess rewriting

    I am sorry if that question is a little silly. I am not so familiar with the .htaccess.

    Assume that I have a file folder/index.php, it is dynamic. So, to access this, users need to enter something like folder/index.php?id=11111.

    Now I want that the users can go to folder/index.php?id=11111 by entering only folder.php/11111.

    How could it be done? Thank you very much if you can give a full solution.

  2. #2
    Join Date
    Mar 2004
    RewriteCond %{QUERY_STRING} ^id=(.*)$
    RewriteRule folder/index.php folder.php/%1?

    that might work...
    Write multiplayer games with FlashMOG 0.3.1
    Try the MyPlan Salary Calculator

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center