phpLD .htaccess

Discussion in 'Directories' started by vic_msn, May 25, 2006.

  1. #1
    can some one explain the .htaccess in phpLD
    and how does phpLD produce SEF urls
     
    vic_msn, May 25, 2006 IP
  2. EveryQuery

    EveryQuery Well-Known Member

    Messages:
    2,039
    Likes Received:
    366
    Best Answers:
    0
    Trophy Points:
    180
    #2
    In the admin, there is a spot where you can set "Enable URL rewrite" to either yes or no. Choose yes. And that's it. Nothing complicated at all.
     
    EveryQuery, May 25, 2006 IP
  3. tonyinabox

    tonyinabox Peon

    Messages:
    1,988
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Learn mod_rewrite!
     
    tonyinabox, May 25, 2006 IP
  4. vic_msn

    vic_msn Well-Known Member

    Messages:
    2,233
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    155
    #4
    i know that but i need thee process
     
    vic_msn, May 25, 2006 IP
  5. EveryQuery

    EveryQuery Well-Known Member

    Messages:
    2,039
    Likes Received:
    366
    Best Answers:
    0
    Trophy Points:
    180
    #5
    Oh, ok. Well, I can't really expalin it well. But check out this site. It's got all the information you would ever want on mod rewrite:

    http://forum.modrewrite.com

    Cheers. :)
     
    EveryQuery, May 25, 2006 IP
  6. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,200
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #6
    Learn to use the functionality of phpLD :)
     
    dcristo, May 25, 2006 IP
  7. vic_msn

    vic_msn Well-Known Member

    Messages:
    2,233
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    155
    #7
    i need some one explaon me the .htacces i have understood the php codes
     
    vic_msn, May 25, 2006 IP
  8. corinaw

    corinaw Not Banned

    Messages:
    486
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    0
    #8
    hey vic,
    could you elaborate on your question? It will help us figure out the issue, and answer you. (if we can)

    Is the url rewrite not working for you? Or the htacess that came with the directory causing errors, what version of phpLD are you running, etc.
     
    corinaw, May 25, 2006 IP
  9. vic_msn

    vic_msn Well-Known Member

    Messages:
    2,233
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    155
    #9
    no problems i am in need of mod_rewrote for another script
    for example phpLD without mod_rewrite produces links like index.php?cid=some number but with mod_rewrite it produces SEF urls
    one of my script produces links like showcats.php?sbcat_id=something number i want to change this into a SEF url similar to phpLD my site http://www.centraldirectory.net/
     
    vic_msn, May 26, 2006 IP
  10. vic_msn

    vic_msn Well-Known Member

    Messages:
    2,233
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    155
    #10
    i have found out one thing phpLD does not produce SEF url with the help of
    .htaccess but with index.php file
     
    vic_msn, May 26, 2006 IP
  11. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #11
    combination of both.
     
    an0n, May 26, 2006 IP
  12. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    #12
    Yes, mod rewrite usually involves both php and htaccess, so some programming knowledge is helpful if you are wanting to dynamically change all your urls.
     
    dvduval, May 26, 2006 IP
  13. tonyinabox

    tonyinabox Peon

    Messages:
    1,988
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    0
    #13
    yeap! mod_rewrite is the best.
     
    tonyinabox, May 26, 2006 IP
  14. spyrit

    spyrit Well-Known Member

    Messages:
    1,788
    Likes Received:
    94
    Best Answers:
    0
    Trophy Points:
    150
    #14
    i used it from the beginning..and didn't know about it :D
     
    spyrit, May 27, 2006 IP