1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

does google crawl .php links***

Discussion in 'Google' started by weedguru, Feb 22, 2009.

  1. #1
    If i have links on higher ranking sites than my own, and I have there a link to my php forum index...index.php...will google crawl that, in due course*** or should I make these links, mysite.com...
     
    weedguru, Feb 22, 2009 IP
  2. leo

    leo Peon

    Messages:
    174
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    *** yes ...
     
    leo, Feb 22, 2009 IP
  3. weedguru

    weedguru Active Member

    Messages:
    90
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    63
    #3
    cheers, for putting my mind at rest, Leo!
     
    weedguru, Feb 22, 2009 IP
  4. vansterdam

    vansterdam Notable Member

    Messages:
    3,145
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    245
    #4
    vansterdam, Feb 22, 2009 IP
  5. weedguru

    weedguru Active Member

    Messages:
    90
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    63
    #5
    but doesn't redirects annoy or even dissuade crawlers from crawling*
     
    weedguru, Feb 22, 2009 IP
  6. mhmdkhamis

    mhmdkhamis Well-Known Member

    Messages:
    1,097
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    145
    #6
    yes google can crawl any link php or asp
     
    mhmdkhamis, Feb 22, 2009 IP
  7. NFreak

    NFreak Peon

    Messages:
    38
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If you use a 401 redirection, no one will know the difference. I believe that Google would not even see a JavaScript redirection, so don't attempt one of those, as they will probably annoy your visitors and won't serve a purpose (irony).

    function curPageURL() {
    $pageURL = 'http';
    if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
    $pageURL .= "://";
    if ($_SERVER["SERVER_PORT"] != "80") {
    $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
    } else {
    $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
    }
    return $pageURL;
    }

    Place that code in the header of all your pages, for example, and you notice that "yoursite.com" will load as "http://www.yoursite.com". I don't know if the above code will help with your "index.php" problem, but it will prevent duplicate content on much of your site.
     
    NFreak, Feb 22, 2009 IP
  8. freebiefinder

    freebiefinder Peon

    Messages:
    431
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Google can crawl any link
     
    freebiefinder, Feb 22, 2009 IP
  9. bweller

    bweller Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I think this guy mean a 301 Permanent Redirect. 301 is the only SEO friendly redirect option.
     
    bweller, Feb 22, 2009 IP
  10. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #10
    Search engines are more interested in the Content-Type HTTP header than they are the file extension.
    For instance there are some news sites that have *.ece pages, and they're indexed just fine because of their text/html Content-Type.
     
    joebert, Feb 22, 2009 IP
  11. teo123

    teo123 Banned

    Messages:
    500
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #11
    They work okay.
     
    teo123, Feb 22, 2009 IP
  12. abraxas

    abraxas Well-Known Member

    Messages:
    1,422
    Likes Received:
    44
    Best Answers:
    1
    Trophy Points:
    125
    #12
    No, the 301 redirects don't!
    Choose either version with the WWW or without it to use, then redirect index.php with both - www prefix and not, and the version of URL you wont use to the preferred one to avoid having duplicated content on home page.
    Otherwise you wont have any issues with the .php crawling at all...
     
    abraxas, Feb 22, 2009 IP