integrating link directory script into existing site

Discussion in 'PHP' started by duswami, Jul 7, 2011.

  1. #1
    Ok- I am trying to find out if this application of a PHP link directory script will work for my project. I have a website that has significant PR. As an additional feature/benefit I want to offer inclusion into a membership directory (link directory). I was planning on buying a customization scripts and putting it here: www.example.com/directory

    From what I understand, the PR will get passed onto the directory listing, correct.

    Also, since the main site is not a link dir submission site, this is an ancillary function of the site on at /directory. What do you guys suggest that I use that I can easily link to my member database and easily customize.

    Regards,
    Charlie
     
    duswami, Jul 7, 2011 IP
  2. eleetgeek

    eleetgeek Peon

    Messages:
    129
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    From what I understand, you want your users to have their own URLs.
    Even if the PR passes, why do you worry? For example, facebook gives customized urls to users but, that does not result in spammers. However, if you are giving them rights to create their own webpages like 'blogger' then, to save your PR, all you have to do is, give them sub-domains rather /username
    Sub-domains can be easier if you are expert in htaccess and know how to allow wildcards through your server conf file.
    Makes sense?
     
    eleetgeek, Jul 7, 2011 IP
  3. duswami

    duswami Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yeah- I understand, except I was told the PR would not pass on in a sub domain, that it should be www.example.com/directory

    In essence, I want the existing members, and new members to be able to upgrade their package by having an onsite company bio with a link back to their page. I thought using a link directory script would do the trick? I'm not worried about spammers because you have to be a paid member to access the directory. I don't want them to have their own pages, just a listing that any other member can click on and a link back to their main page. Is there a better way of doing this while capturing the PR?
     
    duswami, Jul 7, 2011 IP
  4. eleetgeek

    eleetgeek Peon

    Messages:
    129
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sorry, I am unable to comprehend things properly.

    If you want, PR to be passed to your members: example.com/username
    If you DO NOT want, PR to be passed to your members: username.example.com

    If you want first one, you need to rewrite rule all requests to your index.php and then, bifurcate code according to REQUEST_URI (if it is php)
    If you want second one, you need to rewrite rule all requests to your index page and then, bifurcate code according to REQUEST_URI and also make sure that, your server is listening for wildcard entries and that your vhost is set *.example.com

    Simple?
     
    eleetgeek, Jul 7, 2011 IP
  5. duswami

    duswami Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yes- makes sense. But, I could use something like esyndicate as the script and then just link the databases?
     
    duswami, Jul 7, 2011 IP