Mod_rewrite

Discussion in 'Apache' started by templates, Feb 18, 2006.

  1. #1
    I need a mod rewrite for my directory,http://www.linkdirec.com but i am unsure on how to do this.right now the file is htaccess.txt.i read i need to change to .htaccess but when i do that,i stii get that long url.Shouldnt that change it?
     
    templates, Feb 18, 2006 IP
  2. mariush

    mariush Peon

    Messages:
    562
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You must also change the links in the directory source code, the .htaccess only tells the server to transparently convert links to the old format, if such link appears.
     
    mariush, Feb 19, 2006 IP
  3. Sorror

    Sorror Active Member

    Messages:
    376
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #3
    And check if You have the mod_rewrite apache module loaded.
     
    Sorror, Feb 19, 2006 IP
  4. templates

    templates Notable Member

    Messages:
    4,772
    Likes Received:
    218
    Best Answers:
    0
    Trophy Points:
    205
    #4
    ok..thanks for the input.Im really new at the appache stuff,so ill try and figure it out.Thanks
     
    templates, Feb 19, 2006 IP