My site has a PR4 but the index page has a PR3?!

Discussion in 'Websites' started by schnapster, May 16, 2006.

  1. #1
    xxxxxx.com = PR4
    xxxxxx.com/index.shtml = PR3

    They use the PR3 one in their directory.

    Can anyone explain why this is?
     
    schnapster, May 16, 2006 IP
  2. stymiee

    stymiee Peon

    Messages:
    427
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Google sees / and index.shtml as to different pages. You'll need to redirect /index.shtml to / via 3001 redirect to channel that PR to /.

    redirect 301 index.shtml /
    Code (markup):
    Google also wee www and non-www as two different pages and you will also need to do a 301 redirect to correct that.

    Options +FollowSymlinks
    RewriteEngine On
    RewriteCond %{REQUEST_URI}\\/%{HTTP_HOST}/www.//s%{HTTPS} ^/+(.+/)?[^.]*[^/]\\(/)([^w][^w][^w][^.].*/(www\.)|.*)//((s)on|s.*)$ [OR,NC]
    RewriteCond %{HTTP_HOST}/www.//s%{HTTPS} ^(/)?(/)?([^w][^w][^w][^.].*/(www\.))//((s)on|s.*)$ [NC]
    RewriteRule ^ http%6://%4%{HTTP_HOST}%{REQUEST_URI}%2 [L,R=301]
    Code (markup):
    The code above works with any domain and secure pages as well.
     
    stymiee, May 16, 2006 IP
  3. ServerUnion

    ServerUnion Peon

    Messages:
    3,611
    Likes Received:
    296
    Best Answers:
    0
    Trophy Points:
    0
    #3
    xxxxxx.com = PR4
    xxxxxx.com/index.shtml = PR3

    These are different pages in the eyes of the search engines. Always reference xxxxxx.com, from within your site, or external links. doing so will push all the PR to single page, in theory making that page stronger.

    Good luck
     
    ServerUnion, May 16, 2006 IP
  4. schnapster

    schnapster Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Jesus I was wondering why I went from a PR6 to PR3 in just a couple of months. Thanks for the info.

    My hosting company has an auto redirect script, is that alright to use? I should make it permanent and then just change xxxxx.com/index.shtml to xxxxx.com throughout my site, correct?
     
    schnapster, May 16, 2006 IP
  5. stymiee

    stymiee Peon

    Messages:
    427
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Correct. Consistancy is a good thing anyway. :)

    As for the auto-redirect script, unless you are sure it does a 301 redirect I would stick to creating your .htaccess file with the code above that way you are sure your PR is transferred.
     
    stymiee, May 16, 2006 IP
  6. schnapster

    schnapster Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    So by doing this all the following URL's PR rank will transfer into this http://www.phillyhealth.com (PR4):

    http://phillyhealth.com (PR3)
    http://phillyhealth.com/index.shtml (PR0)
    http://www.phillyhealth.com/index.shtml (PR3)

    EDIT: Dont click on those links they were just examples
    EDIT again: Whew changed the links=P
     
    schnapster, May 16, 2006 IP
  7. stymiee

    stymiee Peon

    Messages:
    427
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yes, that is correct :)
     
    stymiee, May 16, 2006 IP
  8. schnapster

    schnapster Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks a bunch.....looks like I know what I am doing tonight. You would think that would just pretty much "assumed" by search engines, wouldnt you?
     
    schnapster, May 16, 2006 IP
  9. stymiee

    stymiee Peon

    Messages:
    427
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #9
    You would think so. But there are too many examples of where they are not the same page and how would they deal with that?
     
    stymiee, May 16, 2006 IP
  10. schnapster

    schnapster Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Im new to editing the htaccess file (I d/l and opened it in Wordpad). I have several redirects in there already. Does it matter where I put that script?
     
    schnapster, May 17, 2006 IP
  11. schnapster

    schnapster Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11

    That second script worked like a charm but unfortunately the first one did not. Currently all http://phillyhealth.com gets forwarded into http://www.phillyhealth.com. Unfortunately there is still the dilemma of the whole index issue. Does anyone know how to forward http://www.phillyhealth.com/index.shtml into just http://www.phillyhealth.com. For some reason that other code did not work=(

    This is what it comes up with when I use this code:redirect 301 index.shtml /

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    could it possibly being a loop? index.shtml>/>index.shtml>/>index.shtml...........
     
    schnapster, May 18, 2006 IP