PHPLD link rewrite

Discussion in 'Directories' started by tfusion, Jul 8, 2007.

  1. #1
    Hey, i have phpld directory at http://linksfusion.com and i want to make the links SEO friendly. Does anybody knows how to use the rewrite function in PHPLD 2.1?
    thanks
     
    tfusion, Jul 8, 2007 IP
  2. SasaVtec

    SasaVtec Notable Member

    Messages:
    1,588
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    275
    #2
    SasaVtec, Jul 8, 2007 IP
  3. tfusion

    tfusion Peon

    Messages:
    566
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #3
    isnt there somethin free? :D
     
    tfusion, Jul 8, 2007 IP
  4. kiviniar

    kiviniar Notable Member

    Messages:
    1,964
    Likes Received:
    256
    Best Answers:
    0
    Trophy Points:
    255
    #4
    I think that u have an option in ur admin settings in PHPld2.1 for that
     
    kiviniar, Jul 8, 2007 IP
  5. SasaVtec

    SasaVtec Notable Member

    Messages:
    1,588
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    275
    #5
    to rewrite your urls no there isnt anything ive seen, but $20 are you that cheap? its for a directory I guess it isnt quality
     
    SasaVtec, Jul 8, 2007 IP
  6. The Pheonix

    The Pheonix Banned

    Messages:
    1,233
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Can't you do it through your .htaccess?
     
    The Pheonix, Jul 8, 2007 IP
  7. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #7
    enQuira, Jul 8, 2007 IP
  8. tfusion

    tfusion Peon

    Messages:
    566
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I just read the guide but seems that my link.tpl and top-bar.tpl don't have the code that needs to be changed :(
     
    tfusion, Jul 8, 2007 IP
  9. The Pheonix

    The Pheonix Banned

    Messages:
    1,233
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Maybe going over to phpld's forum and getting support of thier people there would help?
     
    The Pheonix, Jul 9, 2007 IP
  10. SEOdir.net

    SEOdir.net Banned

    Messages:
    2,549
    Likes Received:
    105
    Best Answers:
    0
    Trophy Points:
    173
    #10
    SEOdir.net, Jul 9, 2007 IP
  11. tfusion

    tfusion Peon

    Messages:
    566
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #11
    tfusion, Jul 9, 2007 IP
  12. SEOdir.net

    SEOdir.net Banned

    Messages:
    2,549
    Likes Received:
    105
    Best Answers:
    0
    Trophy Points:
    173
    #12
    Hmmm as I know, the free version of phpld also has url rewriting.
     
    SEOdir.net, Jul 9, 2007 IP
  13. tfusion

    tfusion Peon

    Messages:
    566
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Ya it does, but it needs a .htaccess rewrite rule and i dont know which one is. If i dont put that in my .htaccess it will show page not found
     
    tfusion, Jul 9, 2007 IP
  14. SEOdir.net

    SEOdir.net Banned

    Messages:
    2,549
    Likes Received:
    105
    Best Answers:
    0
    Trophy Points:
    173
    #14
    Oh so add that in your .htaccess:

    The first 4 lines are needed but this make from youdomain.tld -> www.yourdomain.tld
       RewriteEngine On
       RewriteCond %{HTTP_HOST} ^yourdomain.tld$ 
       RewriteRule ^(.*)$ http://www.yourdomain.tld/$1 [R=permanent,L]
       RewriteBase /
    
       ## Details Link Page Rewrite##
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-l
       RewriteRule (.*)detail/link-(.*).html$ detail.php [QSA,NC]
    
       ## Pagination Rewrite
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-l
       RewriteRule (.*)page-(\d+)\.html$  $1/?p=$2 [PT,NC]
    
       ## Category redirect
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-l
       RewriteRule ^(.*)$ index.php$ [QSA,L]
    Code (markup):
    Hope it will work :)
     
    SEOdir.net, Jul 9, 2007 IP
  15. tfusion

    tfusion Peon

    Messages:
    566
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #15
    No... didn't work, it shows "Page not found... Index.php$ was not found on the server"
     
    tfusion, Jul 9, 2007 IP
  16. SEOdir.net

    SEOdir.net Banned

    Messages:
    2,549
    Likes Received:
    105
    Best Answers:
    0
    Trophy Points:
    173
    #16
    And if you try with that:


    Its from 3.2 but should work.
     
    SEOdir.net, Jul 9, 2007 IP
  17. tfusion

    tfusion Peon

    Messages:
    566
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Forget it... i will buy 3.2 in few hours. Do you know if i can transfer my 2.1 database easily to 3.2?
     
    tfusion, Jul 9, 2007 IP
  18. SEOdir.net

    SEOdir.net Banned

    Messages:
    2,549
    Likes Received:
    105
    Best Answers:
    0
    Trophy Points:
    173
    #18
    You just need to make backup of sql then delete all files from old phpld and reupload new, then go to install and follow the steps. After that everything should be working :)

    Dont forget to replace .htaccess with the new one!


    :)
     
    SEOdir.net, Jul 9, 2007 IP
  19. tfusion

    tfusion Peon

    Messages:
    566
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #19
    oh ok... i will do it when i purchase my new phpld
     
    tfusion, Jul 9, 2007 IP