Warning: XML SiteMap Generator Plugin for WordPress May Report Fewer URL’s警告: XMLのサイトマップ生成ツールのプラグインをより少ないのURL WordPressの5月の報告書
Arne Brachold’s popular XML Sitemap generator plugin for WordPress may report fewer URL than that exists on your website.アルネbracholdの人気のXMLサイトマップ生成ツールのプラグインをWordPressの報告書年5月に比べて少ない上に存在する、お客様のウェブサイトのURLです。 This in turn means less URL’s which you are submitting to search engines for indexing.これを以下のURLのことを意味している検索エンジンのインデックスに登録するために提出する。
I found out that in my case 25% of the actual number of url’s (posts) were being reported.私は私の場合は25 %は、実際のコードのURLの(記事)が報告された。 I haven’t investigated the cause.私はその原因を調査します。 However when I changed the option to use Standard SQL, it is now reporting the URL’s fine.しかし私に変更するオプションを使用するときに標準SQLと、それは今すぐURLを報告して結構です。
Another big problem with XML Sitemap generatorもう一つの大きな問題は、 XMLサイトマップ生成ツール plugin差込式 is that it write to the file directly and incrementally, so if Google or other search engines access the file while it is still writing, well you are in trouble.は、それを徐々に書き込みを行うと、ファイルを直接、もしGoogleや他の検索エンジンにアクセスするファイルの書き込み中にはまだ、よくあなたが困っている。 It is will read a smaller and improperly formatted file.これは読んでは小さく、不適切な形式のファイルです。 A better approach would be to write the file elsewhere and swap it as an atomic operation.より良いアプローチが他とスワップファイルを書き出すには原子的操作にしています。
How can you find out the number of post url’s reported and the actual number of posts? どうすれば郵便番号を見つけて、 URLの報告とし、実際のコードの投稿ですか?
Run a simple SQL query against your MySQL database to get the number of published posts in your database:単純なSQLクエリを実行するmysqlデータベースを取得するに反対して数を公開してデータベースに投稿は:
select count(*) from st_posts where post_status = 'publish' and post_type='post'; 選択数( * )よりst_postsどこpost_status = '公開'とpost_type = '作成' ;
Now grep sitemap.xml to find the post url’s reported.今すぐgrep sitemap.xmlにポストを見つけるにはURLの報告です。 For example for this blog, each post has the word ‘/acrhive/’ prefixed in the url.例えば、このブログは、それぞれの投稿には、単語' / acrhive / '接頭辞にしてください。 So my Linux command was:ですから、私のLinuxのコマンドは:
grep '/archive/' sitemap.xml|wc -l grep 'の/アーカイブ/ ' sitemap.xmlに|トイレ-左
Note: wc -l give the number of lines.注:トイレの左の行数を与える。
You can similarly verify the categories and tags report too.カテゴリと同様にすることができますタグを確認して報告書が判明しました。 However I don’t think they are as important.しかし私には、重要なことはありません。
Filed under提出されて Company会社 , 、 Googleグーグル , 、 Headline Newsニュースの見出し , 、 Pro BloggingプロBlogging , 、 SEOソ , 、 Webウェブ , 、 Web 2.0ウェブ2.0 , 、 WordPress WordPressの , 、 WordPress Plugin WordPressの差込式 | |
| |
RSS 2.0 RSS 2.0を | |
Trackbackトラックバック this Article |この記事|
Email this Article電子メールこの記事
You may also like to readを読むようにすることも可能 |





June 26th, 2008 at 11:27 pm 2008年6月26日11:27 pmの
[...] article: Warning: XML SiteMap Generator Plugin for WordPress May Report Fewer URL’s ( [...]の記事:警告: XMLのサイトマップ生成ツールのプラグインをより少ないのURL WordPressの5月の報告書( http://blog.taragana.com/?p=2643 ) 2008-06-26 07:27:07 · Reply · View brilliances: New blog post: How to make the [...] ) 2008年6月26日午前7時27分07秒返信対象brilliances :新しいブログの投稿:方法を説明して[...]