ページランク と リダイレクト

   (6)
      
English
Thu 2006/03/30 11:32
Google ページランクには逆リンクの数が重要です。たとえ http://www.あなたのドメイン.com」と「http://あなたのドメイン.com」両方もページランクがあるとすると、同じサイトなのに、ページランクがこの2つのURLに分散してしまう。APACHEを使っている方にこの対処方法を教えたい。
まずは「.htaccess」というファイルに次を記入するがいい。自分のドメイン名を置き換えるのを忘れないでください^^;

ErrorDocument 404 http://www.あなたのドメイン.com
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.あなたのドメイン\.com [NC]
RewriteRule ^(.*) http://www.あなたのドメイン.com/$1 [L,R=301]


このようにページランクが一つのURLに蓄積されます。ぜひやってみてください。
Boris in Maryland, USA
wow, that is a very good thing. Thank you for posting. I had this problems with few of my portfolio web design. When I moved them google could not find then anymore. Thanks big Help :-)
(ID #36242) Posted on 2007/01/02 01:23
Boris in Maryland, USA
sorry a little question: does this work only for the whole upper level domain? or can it work for subpages in folders?
(ID #36243) Posted on 2007/01/02 01:23
S.D. in New York
Good to know! I'll try it for my site.
(ID #36249) Posted on 2007/01/02 01:23
Bigwaaagh in Bakel, the Netherlands
Great tip, altough my host won't let me play with .htaccess files.
(ID #36359) Posted on 2007/01/02 01:23
guest in dont't know
To be honest try using the link tags


HOnestly it works sometimes, and a lot of crazy designers
(ID #39069) Posted on 2007/01/02 01:23
Andrius in Tabasco, Mexico (登録日: 2007/11/18 09:07)
Student, Blogger and Almost-Mac-and-PalmOS-Programmer
You know Danny, i had a wordpress blog (www.tupalm.wordpress.com) and my pagerank was quite good (like 3 or 4, thats very good for me), and it is still good, BUT I moved from there to a hosted page (www.tupalm.ismywebsite.com) and I would love to know if there is any way to redirect the google requests and pageranks to the new site? (This info you have here works?).
(ID #64054) Posted on 2007/11/19 00:09
Boris in Maryland, USA
wow, that is a very good thing. Thank you for posting. I had this problems with few of my portfolio web design. When I moved them google could not find then anymore. Thanks big Help :-)
(ID #78246) Posted on 1999/11/30 14:12
Boris in Maryland, USA
sorry a little question: does this work only for the whole upper level domain? or can it work for subpages in folders?
(ID #78247) Posted on 1999/11/30 14:12
S.D. in New York
Good to know! I'll try it for my site.
(ID #78253) Posted on 1999/11/30 14:12
Bigwaaagh in Bakel, the Netherlands
Great tip, altough my host won't let me play with .htaccess files.
(ID #78363) Posted on 1999/11/30 14:12
guest in dont't know
To be honest try using the link tags


HOnestly it works sometimes, and a lot of crazy designers
(ID #81073) Posted on 1999/11/30 14:12
The Itasha these days are really...creative. Via Neta.(もっと見る)
Mon 10/06 21:00 comments (17)
Have not heard much about Ryofuko-chan but the nendoroid is quite cute - the ful...(もっと見る)
Mon 10/06 14:08 comments (17)
You are at a friends house looking through some of his otaku goodies that you se...(もっと見る)
Mon 10/06 02:08 comments (85)
So what did you think about the first ep of Hyakko? The animation is nice and t...(もっと見る)
Sun 10/05 20:30 comments (39)
おすすめ
(更新する)
これらのバナーはランダムで位置を買えたり、ローテーションしています。広告掲載情報はここで見れます
Full list of partners in this slot are listed below.