URL's

Discussion in 'Apache' started by crazyryan, Jul 26, 2006.

  1. #1
    I'm using phparcadescript..

    If you visit www.heatarcade.com the site works fine..

    but if you visit www.heatarcade.com and click Action .. casino etc the mod_rewrite doesn't work.

    If I turn search engine friendly urls off the site functions again.

    Any ideas whats causing this, I've seen other sites using phparcadescript's mod_rewrite working fine..
     
    crazyryan, Jul 26, 2006 IP
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Post the rewrite rules so we can have a look for you.
     
    T0PS3O, Jul 26, 2006 IP
  3. crazyryan

    crazyryan Well-Known Member

    Messages:
    3,087
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    175
    #3
    RewriteEngine on
    RewriteRule ^games/([_A-Za-z0-9-]+)/?$ index.php?action=playgame&title=$1
    RewriteRule ^categories/([_A-Za-z0-9-]+)/([0-9]+)-([0-9]+)/?$ index.php?action=browse&catname=$1&page=$2&limit=$3 [S=1]
    RewriteRule ^categories/([_A-Za-z0-9-]+)/?$ index.php?action=browse&catname=$1
    RewriteRule ^search/([_A-Za-z0-9-]+)/([0-9]+)/?$ index.php?action=browse&searchterm=$1&page=$2 [L]
    Code (markup):
     
    crazyryan, Jul 26, 2006 IP
  4. PinoyIto

    PinoyIto Notable Member

    Messages:
    5,863
    Likes Received:
    170
    Best Answers:
    0
    Trophy Points:
    260
    #4
    it seems the site is working now

     
    PinoyIto, Jul 26, 2006 IP
  5. petronel

    petronel Peon

    Messages:
    113
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    problem is fixed now ?
     
    petronel, Jul 26, 2006 IP
  6. crazyryan

    crazyryan Well-Known Member

    Messages:
    3,087
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    175
    #6
    Yes - I fixed it earlier, thanks though.
     
    crazyryan, Jul 26, 2006 IP