Mod rewrite not working

Discussion in 'Apache' started by Camay123, Sep 8, 2007.

  1. #1
    I have read the sticky about mod rewrite, create a .htacess file, uploaded it, but nothing. I still have dynamic urls.

    The site is, http://www.cheatfolder.com

    My urls and .htaccess are the following:

    http://www.cheatfolder.com/index.php?module=games&platform=Genesis
    http://www.cheatfolder.com/cheat/games/genesis.html

    I also need to rewrite these urls:

    http://www.cheatfolder.com/index.php?module=games&letter=D&platform=Gameboy
    http://www.cheatfolder.com/cheat/games/D/Gameboy.html

    Also,

    http://www.cheatfolder.com/index.php?module=cheats&cheat=8651
    http://www.cheatfolder.com/games/cheats/8651.html

    However, I dont think having 8651.html is SEO friendly. It should be name-og-game-cheat.html


    For unknow reason I stil get:

    http://www.cheatfolder.com/index.php?module=cheats&cheat=8651
     
    Camay123, Sep 8, 2007 IP
  2. VimF

    VimF Well-Known Member

    Messages:
    307
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    118
    #2
    VimF, Sep 8, 2007 IP
  3. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #3
    You change those the way you would if the mod_rewrite URLs were the real URLs. The browser has no idea you're using mod_rewrite.

    And the script has to be changed to link to the new URLs.
     
    Nintendo, Sep 8, 2007 IP