i need .htaccess

Discussion in 'Apache' started by vic_msn, Apr 15, 2006.

  1. #1
    please visit www.centraldirectory.net
    right now categories link are displayed like id?=something
    can you rewrite this thank you.
    .htaccess of this website contains

     
    vic_msn, Apr 15, 2006 IP
  2. EGS

    EGS Notable Member

    Messages:
    6,078
    Likes Received:
    438
    Best Answers:
    0
    Trophy Points:
    290
    #2
    Have you checked out the developer of the script to see if they have any modrewrite for free?
     
    EGS, Apr 15, 2006 IP
  3. aaronnunter

    aaronnunter Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It's time to check out the cheet sheat :)

    http://www.ilovejackdaniels.com/cheat-sheets/mod_rewrite-cheat-sheet/
     
    aaronnunter, Apr 15, 2006 IP
  4. commandos

    commandos Notable Member

    Messages:
    3,648
    Likes Received:
    329
    Best Answers:
    0
    Trophy Points:
    280
    #4
    .htaccess is not enough to fix your problem ... you will also need to change your program to show the correct url related to the change made in htaccess .
     
    commandos, Apr 15, 2006 IP
  5. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #5
    what commandos mentioned it correct... even if you change your .htaccess file to reroute the friendly url requests to the actual files, your script needs to display the friendly urls...

    1. check with your script developer if there is a setting to display friendly urls
    2. normally, if there is, the script would also come with a .htaccess file
    3. if item 1 is not true, you don't have to worry about writing a .htaccess file since it'll never be used... :(
     
    daboss, Apr 15, 2006 IP