Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Oct 2009
    Posts
    78
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Mod_rewrite help needed.

    I got this url: http://example.com/index.php?page=products and i want to access that page by using: http://example.com/products

    I tried the GenerateIt tool but generating this and then removing the parameter gets me a internal server error when i try it.

  • #2
    New Coder
    Join Date
    Oct 2009
    Posts
    78
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Anyone?

  • #3
    New Coder
    Join Date
    Oct 2009
    Posts
    78
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Nvm this worked: RewriteRule ^(.*)$ index.php?page=$1 [L], dangerous though so i just add 1 mod entry for each page.

    Edit: doesnt work , any solutions?
    Last edited by BinaryX; 12-07-2012 at 09:03 AM.


  •  

    Posting Permissions

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