Why is the PR for my main URL different than my Index.php

Discussion in 'Search Engine Optimization' started by gregdavidson, Feb 2, 2008.

  1. #1
    I just noticed that my forum has a 0 PR for the main address and a PR1 on it's "index.php". Aren't they the same thing? Makes you kind of question Google's PR system.
     
    gregdavidson, Feb 2, 2008 IP
  2. microtekblue

    microtekblue Well-Known Member

    Messages:
    464
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    108
    #2
    That is weird...but I suspect it has something to do with your php script and not google.
     
    microtekblue, Feb 2, 2008 IP
  3. gregdavidson

    gregdavidson Well-Known Member

    Messages:
    2,448
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    160
    #3
    I think it's weird because none of the backlinks to my website have my index.php in it.
     
    gregdavidson, Feb 2, 2008 IP
  4. astup1didiot

    astup1didiot Notable Member

    Messages:
    5,926
    Likes Received:
    270
    Best Answers:
    0
    Trophy Points:
    280
    #4
    http://www.yourdomain and http://www.yourdomain.com/index.php are considered 2 seperate URLs, this is why they both have their own unique Pagerank. You most likely have a internal link that points to the index file, the best way to solve this and transfer the wieght\pagerank over is to use the below code in your .htaccess file.

    This will forward all index.php requests to yourdomain.com and solve your problem, expect some time before Pagerank transfers and index updates.
     
    astup1didiot, Feb 2, 2008 IP
  5. gregdavidson

    gregdavidson Well-Known Member

    Messages:
    2,448
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    160
    #5
    Oh ok. It doesn't really matter to me. I do have a "home" link which points to the index and is probably the reason.
     
    gregdavidson, Feb 2, 2008 IP
  6. sweetfunny

    sweetfunny Banned

    Messages:
    5,743
    Likes Received:
    467
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It matters to Google though, what you have is duplicate pages and your Pagerank split between 2 URL's instead of consolidated in to the one.

    It can have an impact on SERP's and PR, and the correct name for it is Canonical URL's.
     
    sweetfunny, Feb 2, 2008 IP
  7. dspohn23

    dspohn23 Peon

    Messages:
    370
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Google does not know that your main url and your index.php are the same file. It looks different to them. I would remove all links to the index.php and just point to the main url
     
    dspohn23, Feb 2, 2008 IP
  8. astup1didiot

    astup1didiot Notable Member

    Messages:
    5,926
    Likes Received:
    270
    Best Answers:
    0
    Trophy Points:
    280
    #8
    You still need to 301 redirect the index.php to the main URL or you'll still recieve divided Pagerank between the two, most likely some backlinks are using index.php
     
    astup1didiot, Feb 3, 2008 IP