Broken Link Algorithm In PHP

Discussion in 'PHP' started by i_am_dhaval, Sep 24, 2014.

  1. #1
    I would like to make my own Broken Link Algorithm In PHP

    can you guide me

    i see many seo reporting site providing this but i want to create my self

    can anyone guide me please ?
     
    i_am_dhaval, Sep 24, 2014 IP
  2. behnamy

    behnamy Greenhorn

    Messages:
    38
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    20
    #2
    I saw some free script in hotscript, can't you find out the Algorithm via reading the script codes?
     
    behnamy, Sep 25, 2014 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    What you need to do is check the links, and parse the return value - if it's 200, the link is fine, if it's anything else (301, 302, 404, 500) there's an error, and you can report based on that. You could do this in pure PHP, although an AJAX-call might be preferable as it would provide a per instance load while waiting for the complete list to be processed.
     
    PoPSiCLe, Sep 25, 2014 IP
  4. i_am_dhaval

    i_am_dhaval Well-Known Member

    Messages:
    1,364
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    138
    #4
    ia any links or data i need to store on my hosting account ?
     
    i_am_dhaval, Sep 28, 2014 IP