• 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細

このWikiはいつでも誰でも編集できます

WordPress の検索エンジン最適化 (SEO)

提供: WordPress Codex 日本語版
移動先: 案内検索

このページ「WordPress の検索エンジン最適化 (SEO)」は未翻訳です。和訳や日本語情報を加筆してくださる協力者を求めています

WordPress はインストールするだけでも検索エンジンと相性が良い状態になっています。デフォルト機能により、検索エンジンが個別投稿・固定ページ・カテゴリーなどをクロールして情報を検索データベースに含めやすいようになっています。

WordPress にはビルトイン検索エンジン最適化(SEO)ツールが含まれています。.htaccess を使った、「パーマリンク」と呼ばれるきれいな URL の生成、ブログロール(サイドバーのリンク集)作成機能、そして Ping(ピンバック)の送信などです。他にも SEO に使える多数のサードパーティプラグインがあります。

しかし、さまざまな WordPress テーマを使ったり、自身の目的に合わせて WordPress をカスタマイズし始めると、検索エンジンにフレンドリーなデフォルト機能が動作しなくなってしまう恐れがあります。WordPress サイトが検索エンジンのスパイダーやクローラーに対して最もフレンドリーな状態を保つためには、以下のようなことに気をつけてください。

正しくクリーンなコード
Make sure your site's code validates. Errors in your code may prevent a search engine from moving through the site successfully.
コンテンツに「会話」させる
Search engines can't "see" a site. They can only "read" a site. Pretty does not talk to a search engine. What "talks" to a search engine are the words, the content, the material in your site that explains, shares, informs, educates, and babbles. Make sure you have quality word content for a search engine to examine and compare with all the parts and pieces to give you a good "score".
検索のことを考えてコンテンツを書く
How do you find information on the Internet? If you are writing something that you want to be "found" on the Internet, think about the words and phrases someone would use to find your information. Use them more than once as you write, but not in every sentence. Learn how search engines scan your content, evaluate it, and categorize it so you can help yourself get in good favor with search engines.
コンテンツ・ファースト(まずコンテンツありき)
A search engine enters your site and, for the most part, ignores the styles and CSS. It just plows through the site gathering content and information. Most WordPress Themes are designed with the content as close to the top of the unstyled page as possible, keeping sidebars and footers towards the bottom. Few search engines scan more than the first third of the page before moving on. Make sure your Theme puts the content near the top.
キーワード・リンク・タイトルとコンテンツのマッチング 
Search engines do not evaluate your site on how pretty it is, but they do evaluate the words and put them through a sifter, giving credit to certain words and combinations of words. Words found within your document are compared to words found within your links and titles. The more that match, the better your "score."
リンク・画像内のコンテンツ 
Your site may not have much text, mostly photographs and links, but you have places in which to add textual content. Search engines look for alt and title in link and image tags. While these have a bigger purpose of making your site more accessible, having good descriptions and words in these attributes helps provide more content for search engines to digest.
リンク・ポピュラリティ
It is not how good your site is, it is how good the sites are that link to you. This still holds weight with search engine favoritism. It's about who links to you. Blogrolls, pingbacks, and trackbacks are all built into WordPress. These help you link to other people, which gives them credit, but it also helps them link to you, connecting the "links." The number of incoming links your site has that have been recognized by Google can be checked by typing link:www.yoursite.com into Google (other search engines have similar functions). Other ways to generate incomming links to your site include:
  • Add your site's url to your signature on forum posts on other sites.
  • Submit your site to directories (see below).
  • Note: Leaving comments on blogs will not help with this, since all modern blogging tools use the rel="nofollow" attribute. Don't be a comment spammer.
適切なナビゲーションリンク
A search engine crawls through your site, moving from page to page. Good navigational links to the categories, archives, and various pages on your site will invite a search engine to move gracefully from one page to another, following the connecting links and visiting most of your site.

検索エンジンサイトへの申請

There are many resources that will "help" you submit your site to search engines. Some are free, some for a fee. Or you can manually submit your site to search engines yourself. Whatever method you choose to use, once your site has been checked for errors and is ready to go, search engines will welcome your WordPress site.

Here are some tips for successful site submissions:

  • Make sure you have content for search engines to scan. In general, have more than 10 posts on your site to give the search engines something to examine and evaluate.
  • Do not submit your site to the same search engine more than once a month or longer, depending upon their criteria, not your anxiousness to be listed.
  • Have ready to type, or copy and paste, a description of your site that is less than 200 words long, the title of the site, and the categories your site may belong to in a search engine directory.
  • Have a list of your website's various "addresses/URLs" ready. You can submit your root directory as well as specific categories and feeds to search engines, expanding your search engine coverage.
  • Keep a list of the various search engines and directories you submit to so you do not accidentally resubmit too soon, and you can keep track of how they include you among their pages and results.

ディレクトリサイト

It is also useful for traffic generation and search optimization purposes to submit your site to directories. Both comprehensive directory sites and those specific to the subject or localisation of your site can be used.

DMOZ.org this is the most important directory. Its content is licensed in an open fashion, allowing it to be syndicated through out the web. Its content is also used directly in some fashion by almost all of the major search engines.

検索エンジン最適化リソース

While WordPress comes ready for search engines, the following are more resources and information you may want to know about preparing and maintaining your site for search engines' robots and crawlers.

メタタグ

Meta Tags contain information that describes your site's purpose, description, and keywords used within your site. The meta tags are stored within the head of your header.php template file. By default, they are not included in WordPress, but you can manually include them and the article on Meta Tags in WordPress takes you through the process of adding meta tags to your WordPress site.

The WordPress Custom Fields option can also be used to include keywords and descriptions for posts and Pages. There are also several WordPress Plugins that can also help you to add meta tags and keyword descriptions to your site found within the Official WordPress Plugin Directory.

Robots.txt の最適化

Search Engines read a yourserver.com/robots.txt file to get information on what they should and shouldn't be looking for, and where.

Specifying where search engines should look for content in high-quality directories or files you can increase the ranking of your site, and is recommended by Google and all the search engines.

An example WordPress robots.txt file:

User-agent: *
Disallow: /cgi-bin
Disallow: /wp-admin
Disallow: /wp-includes
Disallow: /wp-content/plugins
Disallow: /wp-content/cache
Disallow: /wp-content/themes
Disallow: /trackback
Disallow: /feed
Disallow: /comments
Disallow: /category/*/*
Disallow: */trackback
Disallow: */feed
Disallow: */comments
Disallow: /*?*
Disallow: /*?
Allow: /wp-content/uploads

# Google Image
User-agent: Googlebot-Image
Disallow:
Allow: /*

# Google AdSense
User-agent: Mediapartners-Google*
Disallow:
Allow: /*

# digg mirror
User-agent: duggmirror
Disallow: /

Sitemap: http://www.example.com/sitemap.xml

関連記事

フィードの送信

WordPress comes built-in with various feeds, allowing your site to be viewed by various feed readers. Many search engines are now accepting feed submissions, and there are many site which specialize in directories of feeds and feed services.

To submit your site's feeds, you need to know the link to the various feeds your site provides. The article WordPress Feeds lists the various links of the feeds that come built into WordPress.

For information on customizing these links, see the article on Customizing Feeds.


パーマリンク

Permalinks are enhancements to your existing URLs which can improve search engine optimization by presenting your post, page, and archive URLs as something like http://example.com/2003/05/23/my-cheese-sandwich/ rather than http://example.com/index.php?p=423. See Using Permalinks for more information.

As search engines use links and the title as part of their information gathering, links to posts and articles within your site gain importance with Permalinks.

関連:

As an added bonus, enable the Permalink Redirect plugin. This plugin "replies a 301 permanent redirect, if request URI is different from entry’s (or archive’s) permalink. It is used to ensure that there is only one URL associated with each blog entry."

サイトマップ

A sitemap or "site map" is a single page listing of all the posts on your website. It is intended for your visitors to get a good overview on what your site is about and to find a blog post quickly but it also has great benefits in the search engines as a good link is always pointing to all your blog posts. By having a link to your sitemap on all your sites pages both visitors and search engines will easily get to it and find all your posts.

Here is a tutorial with three different examples of sitemaps with demos and how to set them up:

Google サイトマップ

As of June 2005, Google is now accepting sitemaps of your site as part of their website submissions. Google needs to have this sitemap formatted in a special way using XML. You can find more information about Google's Sitemap Submissions from Google, and the discussion on the WordPress Forum about WordPress and Google Site maps.

Some utilities have been created to help the WordPress user to create a Google site map of their site for submission to Google. For more information on these and Google sitemaps:

リンクの関連性

There is some debate over whether listing the link relations actually effect search engine ranking however it is simple to implement.

その他のリソース・チュートリアル

There is a lot to learn about search engine optimization and site submission. Here are just a few sites to help you learn more about how this works:

最新英語版: WordPress Codex » Search Engine Optimization for WordPress最新版との差分