xxxxxx.com = PR4 xxxxxx.com/index.shtml = PR3 They use the PR3 one in their directory. Can anyone explain why this is?
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.
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
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?
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.
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
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?
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?
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?
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...........