コピペだけで出来るかもしれないSEO

以前顧客を逃がさないために404リダイレクトのカスタマイズを
記事にしましたが、今回も.htaccess 関連です。

http://www.example.com/ と

http://www.example.com/index.html とは

実は別のページとして扱われます。

受けた被リンクの数なども合算されませんので、
正規化をしておくだけで、SEO効果があるかもしれない、
というお話です。

さほど順位には影響は無いでしょうが、
万が一、被リンクやインデックスが分散しているのであれば、
これはやっておくべきでしょう。

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.html$ http://www.example.com/$1 [R=301,L]

といった感じで.htacessファイルを作成します。

http://www.example.com/ の部分をあなたのサイト名にリライトして、

アップロードしてください。

コメント / トラックバック5件

  1. Hey, I searched for this blog on Bing and just wanted to say thanks for the excellent read. I would have to agree with it, thank you again!

  2. Luigi Fulk より:

    I want to thank the blogger very much not only for this post but also for his all previous efforts. I found thesimpleyoga.com to be greatly interesting. I will be coming back to thesimpleyoga.com for more information.

  3. Luigi Fulk より:

    Very informative article… Looking forward for more articles on your blog

  4. conveyancing より:

    Where did you get this lovely?

  5. rabbit vibrator より:

    I love ur posts! Appreciate it!

コメントをどうぞ