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 2 of 2
  1. #1
    Sim
    Sim is offline
    New Coder
    Join Date
    Feb 2009
    Posts
    82
    Thanks
    1
    Thanked 1 Time in 1 Post

    Mod-Rewrite not working on sub-directory

    It keeps directing me back to the root of my domain. What am I doing wrong? Heres my code:

    Code:
    RewriteEngine On
    
    RewriteRule ^(.*)/(.*)/(.*)/$ /index.php?where=$1&action=$2&id=$3 [NC,L]
    RewriteRule ^(.*)/(.*)/$ /index.php?where=$1&action=$2 [NC,L]
    RewriteRule ^$ /index.php?where=$1 [NC,L]
    Online RPG Creator - Create Your Own Online RPG with no programming knoweldge

  • #2
    New Coder
    Join Date
    Jan 2013
    Posts
    16
    Thanks
    0
    Thanked 1 Time in 1 Post
    What is the actual URL you are trying to access that keeps sending you back to the root?


  •  

    Posting Permissions

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