php SEO friendly details pages

Discussion in 'Directories' started by enQuira, May 2, 2007.

  1. #1
    This was requested by a member here.
    With this mod you can add any field of the PLD_LINK table to the URL of the details page. For instance, you can add the category, the title and even keywords of the listing in the URL
    e.g. hxxp://www.rakcha.com/phpld/Directories/enQuira-directory-link-18.html
    demo: http://www.rakcha.com/phpld/Directories/enQuira-directory-link-18.html


    Implementation: phpld SEO friendly details pages

    Enjoy!


    The title of the thread should start with phpld instead of php. mod?
     
    enQuira, May 2, 2007 IP
  2. wwws

    wwws Notable Member

    Messages:
    3,385
    Likes Received:
    285
    Best Answers:
    0
    Trophy Points:
    225
    #2
    You're just AWESOME!!!
     
    wwws, May 2, 2007 IP
  3. aspidov

    aspidov Well-Known Member

    Messages:
    2,875
    Likes Received:
    272
    Best Answers:
    0
    Trophy Points:
    175
    #3
    except the fact that it does not work on your demo link :)
     
    aspidov, May 2, 2007 IP
  4. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Weird i noticed that also. Hmm. Maybe he will fix it soon must be minor glitch.
     
    paidhosting, May 2, 2007 IP
    deluxdon likes this.
  5. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #5
    sorry it was a / instead of - in the .htacess
    I will update the blog post.
     
    enQuira, May 2, 2007 IP
  6. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #6
    Why don't you make another script like phpld with some great mods :confused: Just my openion.

    Anyway thanks for sharing nice mods of phpld with us. Keep it up.

    :)
     
    deluxdon, May 2, 2007 IP
    paidhosting likes this.
  7. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Those are simple mods not to be compared with a complete script.
    Anyways, if you have any mod requests don't hesitate, if I have time I might work on them.
     
    enQuira, May 2, 2007 IP
  8. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #8
    Oh! thanks for your invitation :) Appreciate ;)

    Surely contact you if i need any spcial requirement for myself.
     
    deluxdon, May 2, 2007 IP
  9. SasaVtec

    SasaVtec Notable Member

    Messages:
    1,588
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    275
    #9
    This is very funny, I know I will get red reps, to tell you the truth dont really matter, always honest.

    So earlier today talking to rob on YIM
    As you can see not long ago, he timed it perfectly, he even took an ss of ghandi viewing chris's deep links mod thread where there was a request for this mod.

    This is really sad, people using these mods are the people that can't afford to invest a few bucks for the directory they own.

    I could go on forever, could even talk about respect but since most here don't show any and don't care, then why bother, your parents obviously didn't teach you any better.

    If you want to say something feel free, I really don't care about it.


    Best Regards
    Sasa
     
    SasaVtec, May 2, 2007 IP
    Fastian and onlinedude like this.
  10. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #10
    U think everyone is born rich ? Come on be practical in life.

    Also since when do ideas get trademark ?

    
    Rob C (5/3/2007 12:43:28 AM): but nonetheless, an an0n trademarked mod
    
    Code (markup):
     
    paidhosting, May 3, 2007 IP
  11. SasaVtec

    SasaVtec Notable Member

    Messages:
    1,588
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    275
    #11
    Not rich at all, I work I pay my respects, but think about this, people see a great mod from rob, and right away someone requests a rip, you may not call it a rip, but think about this.

    You develop the next big mod for phpld, with the time you have spent working on it, time takes to install, support, etc... and now you are selling it for $100. Then I request a free version of this mod, a coder, visits your test site, looks how the mod is working, makes a copy and gives it out for free. Now tell me the truth how would you feel?


    EDIT: By a request I got, I was asked to stop with this, stated from the PM "Kids will never learn"
     
    SasaVtec, May 3, 2007 IP
  12. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #12
    That was just my openion. Not want to hurt anyone here.

    Someone given me red rep for that one :( (God bless him)
     
    deluxdon, May 3, 2007 IP
  13. aspidov

    aspidov Well-Known Member

    Messages:
    2,875
    Likes Received:
    272
    Best Answers:
    0
    Trophy Points:
    175
    #13
    I got red rep too but ohh well, i think its just some fag who likes to hide his/her identity and being a pussy about the rep he/she sends
     
    aspidov, May 3, 2007 IP
    saadahmed007, iceberg and vegabond like this.
  14. vegabond

    vegabond Shabu Anower

    Messages:
    1,656
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    240
    #14
    So sad to know that :(

    It's not that much fair to giving red rep for using a open source mods for a popular script.

    This mod is not a new idea, It was applied in indexu, esyndicat from many days ago.

    @mhamdi
    hxxp://www.rakcha.com/phpld/Directories/enQuira-directory-link-18.html
    any way to make all char to lower case?

    Do you need any new idea? Let me know. I have few ;)
     
    vegabond, May 3, 2007 IP
    iceberg likes this.
  15. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Hi,
    sure why not.
    to convert to lower case you can replace in the URL:{$link.TITLE|escape|trim|replace:' ':'-'} by {$link.TITLE|escape|trim|strtolower|replace:' ':'-'}
     
    enQuira, May 3, 2007 IP
  16. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #16
    Nice Shabu!
    I look forward to them.
    I hope mhamdi can get us some unique MOD's.;)
     
    Richie_Ni, May 3, 2007 IP
    iceberg likes this.
  17. vegabond

    vegabond Shabu Anower

    Messages:
    1,656
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    240
    #17
    vegabond, May 3, 2007 IP
  18. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Kudos...you are bringing out new things that look simple yet beneficial.

    Vegabond and I want have some chat with you over IM...it'd be good for 3 of us.
     
    agnivo007, May 3, 2007 IP
  19. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #19
    you cannot redirect old pages to new ones as the title and category are not known at the htaccess level. What you can do however is 301 redirect all those old pages to you home index, this way you avoid duplicate content penalty with the new ones and you help the search engine to promptly remove the old pages and catch the new ones.

    ADD this to the .htaccess

    RewriteCond %{REQUEST_URI} ^(.*)/detail/link-(.*)\.html$
    RewriteRule ^(.*)$ http://www.yourdirectory.com/ [R=301,L]
     
    enQuira, May 3, 2007 IP
  20. solidghost

    solidghost Peon

    Messages:
    413
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Yes, very nice mod.
    But I already have anon's mod installed. And if I were to get this mod, I will see a massive drop in my backlinks.
     
    solidghost, May 3, 2007 IP