Wordpress Hack #13: Traffic Proofing Wordpress وورد هاك # 13 : قياس حركة المرور وورد
1,044 views - 1،044 جهات النظر --Posted in: نشر في :
1,044 views 1،044 آراء
Please note: This page was originally written in English. الرجاء ملاحظة : هذه الصفحة كان أصلا مكتوب باللغة الانكليزية.
The original post can be viewed الأصلي بعد ويمكن النظر إلى here هنا .
Please note: This page was originally written in English.
The text has been translated using an online service such as Google or Babelfish.
The original post can be viewed here.
Wordpress errors a problem? وورد أخطاء مشكلة؟ Too high of a load for your web host? عالية للغاية من حمولة لاستضافة الويب الخاص بك؟ Worried about getting dugg, stumbled, or slashdotted? قلق بشأن الحصول على dugg ، تعثرت ، أو slashdotted؟ Learn now to “traffic proof” your Wordpress site or blog! تعلم الآن على "دليل على حركة المرور" وورد في الموقع الخاص بك أو بلوق!
This is installment #13 in هذا هو القسط في # 13 30 Wordpress Hacks in 30 Days 30 المأجورون وورد في 30 أيام !
If you’ve blogging for any length of time, or if you own multiple blogs at one time or another you’re likely to have a problem with “too much traffic”. إذا كنت المدونات لأية فترة من الوقت ، أو إذا كنت بلوق المتعددة الخاصة بها في وقت أو آخر كنت من المحتمل أن يكون لها مشكلة مع "الكثير من المرور". In this hacks series I’ve shown you how to keep your database maintained, but that doesn’t really matter if your starting to get 20,000 unique views per day or more. في هذا المأجورون سلسلة لقد أظهرت لكم كيفية الحفاظ على قاعدة البيانات الخاصة بك ، ولكن هذا لا يهم إذا كان حقا بداية لك 20000 للحصول على وجهات نظر فريدة في اليوم الواحد أو أكثر. I’ve found over the that’s about the tipping point for most shared web hosts, the point at which your site reaches more than 250,000 “requests” per day or more and it starts maxing out the resources alloted to your domain. لقد وجدت خلال ذلك عن كف عفريت المشتركة لمعظم تستضيف شبكة الإنترنت ، النقطة التي موقعك تصل إلى أكثر من 250000 "الطلبات" في اليوم الواحد أو أكثر ويبدأ maxing خارج الموارد خصص لنطاقك. Every single time someone visits your Wordpress site, it makes “calls” to the database server to retrieve the posts, and the pages, and the categories, and header, and the footer, and your archives, and on and on and on. مرة واحدة كل شخص الزيارات وورد في الموقع الخاص بك ، يجعل من "يدعو" لخادم قاعدة البيانات لاستعادة وظائف ، والصفحات ، والفئات ، ورأسية ، والذيل ، والمحفوظات الخاصة بك ، وعلى وعلى وعلى. Get the picture? احصل على الصورة؟ One page load could mean a dozen+ “calls” to the database. تحميل صفحة واحدة قد يعني عشرات + "يدعو" إلى قاعدة البيانات. That’s why 20,000 “page views” could mean “250,000 requests” for your site. هذا هو السبب في 20000 صفحة "وجهات النظر" قد يعني "250000 طلبات" لموقعك.
I actually got an email today after dinner about one of my sites having “very high loads” on the server, and that today requests were way over 300,000 and it was the highest traffic day in a very long time with 22,000+ pageviews. أنا فعلا حصلت على رسالة بريد إلكتروني اليوم بعد العشاء عن بلدي واحد من مواقع لها "الأحمال عالية جدا" على الخادم ، والتي كانت مطالب اليوم أكثر من 300000 وطريقة هذا كان أكبر حركة المرور اليوم في وقت طويل جدا مع + 22000 صفحة. I knew it was time to enable some sort of caching on this site. كنت اعرف ان الوقت قد حان لتمكين نوع من التخزين المؤقت على هذا الموقع. The WP-Cache plugin has been around awhile (4-5 years), and I’ve used it before, but the main problem I’ve always had is you have to disable everything on your site that is either interactive or counts. فإن الفسفور الابيض بين ذاكرة التخزين المؤقت البرنامج المساعد وقد حول لحظة (4-5 سنوات) ، ولقد استخدمته من قبل ، ولكن المشكلة الرئيسية التي كنت دائما هو كان لديك لتعطيل كل شيء على موقعك هو إما أن تحصي أو التفاعلية. This would include wp-postview (page and post counts), wp-postrating (live post ratings), etc. Even comments are a slight issue, since once they are approved it can be up to an hour before they appear on the cached pages. ويشمل ذلك الفسفور الابيض - postview (صفحة وبعد انتهاء العد) ، والفسفور الابيض - postrating (في العيش التصنيفات وظيفة) ، وغير ذلك وحتى التعليقات هي مسألة طفيفة ، منذ مرة أخرى إذا وافق على ذلك يمكن أن تصل إلى ساعة قبل أن تظهر على الصفحات المخبأة . “Normally” all javascript things, like adsense ads or affiliate ads work just fine, since they are called live on the cached pages the same as if they came from the Wordpress database. "عادة" جافا سكريبت جميع الأشياء ، مثل الإعلانات أو adsense اعلانات تابعة العمل على ما يرام ، لأنها دعت يعيشون على نفس الصفحات المخبأة كما لو أنها جاءت من وورد قاعدة البيانات.
WP-Cache hasn’t been updated in a few years from what I saw on their web site, but that’s ok because “ الفسفور الابيض بين ذاكرة التخزين المؤقت لم يتم تحديثه في غضون سنوات قليلة من ما شاهدته على موقعه على الانترنت ، ولكن هذا بسبب موافق " WP-Super Cache الفسفور الابيض بين السوبر مخبأ ” has come along. "قد حان على طول. It’s bigger and better than WP-Cache because the PHP engine is never called and it’s much quicker. انها اكبر وافضل من الفسفور الابيض بين ذاكرة التخزين المؤقت لأن PHP المحرك هو أبدا ودعا انها أسرع بكثير. Now, for those of you new to Wordpress that might not be so technical - what is a “cache?” A cache is when you have common pages stored so they don’t have to be fetched from a database every time if nothing has been updated. الآن ، لتلك لكم من جديد إلى وورد أن ذلك قد لا يكون التقنية -- ما هو "مخبأ؟" العثور على مخبأ للاسلحة هو عندما يكون لديك صفحة المشتركة المخزنة حتى لا يضطر الى جلب من قاعدة بيانات في كل مرة وكأن شيئا قد تحديث. Your web brower has a “cache” and it uses the copy of web pages on your PC if nothing has changed on the web version. الويب الخاص بك متصفحك لديها "مخبأ" وأنه يستخدم نسخة من صفحات الويب على الكمبيوتر الخاص بك إذا لم يتغير أي شيء على شبكة الإنترنت النسخة. The Wordpress wp-super-cache plugin speeds up pages on your blog in the same way. وورد فإن الفسفور الابيض بين الدول العظمى على مخبأ البرنامج المساعد بسرعة حتى الصفحات الخاصة بك على بلوق في نفس الطريق.
I happenned along a post a few weeks back on OminNoggin - “ أنا happenned على طول بعد أسابيع قليلة على عودة OminNoggin -- " Make Popularity Contest Work with WP Super Cache جعل شعبية المسابقة عمل مع الفسفور الابيض السوبر مخبأ “. ". I thought this as really cool, because he solved the problem by making the counters and statistics work using javascript instead of PHP. اعتقدت أن ذلك حقا باردا ، لأنه حل المشكلة عن طريق جعل يتعارض وإحصاءات العمل باستخدام جافا سكريبت بدلا من PHP. I asked him in the comments if he could do the same to make Lester Chan’s سألته في التعليقات ما اذا كان يمكن أن تفعل الشيء نفسه لجعل ليستر تشان WP-Postviews work on Javascript counts as all and he did الفسفور الابيض - Postviews العمل على Javascript ويعتبر كل فعل ! Note - his fix only works on Wordpress 2.5, so first I deactivated the WP-PostViews plugin, and then I upgraded to Wordpress 2.5. ملاحظة -- له تثبيت فقط يعمل على وورد 2.5 ، حتى أنا أول المعطلة فإن الفسفور الابيض - PostViews البرنامج المساعد ، وبعد ذلك أنا ورفع مستواها لتصبح وورد 2.5. The I installed WP-Super Cache, and last I upgraded to the JavaScript version of WP-PostViews - and everything seemed to work fine! فإن أنا تركيبها الفسفور الابيض بين السوبر ذاكرة التخزين المؤقت ، ورفع مستوى الأول الماضي إلى جافا سكريبت نسخة من الفسفور الابيض - PostViews -- وبدا أن كل شيء العمل غرامة!
Let me say, “Your Mileage May Vary”! واسمحوا لي أن أقول ، "الأميال الخاص بك قد تختلف"! The site I upgraded (that is now working fine with WP-Supercache AND JavaScript WP-PostViews) only has about a dozen Wordpress plugins. الموقع الأول رفع مستوى (التي هي الآن العمل مع دفع غرامة وSupercache الفسفور الابيض بين جافا سكريبت الفسفور الابيض - PostViews) فقط نحو اثني عشر وورد المحمول. Everything seems to co-exist there just fine so far and the pages load much, much faster. كل شيء يبدو في العيش المشترك هناك على ما يرام حتى الان وتحميل الصفحات بسرعة أكثر كثيرا. I attempted to do the same install tonight here on jtpratt.com and it didn’t go so well. أنا حاولت أن تفعل الشيء نفسه على تركيب هذه الليلة هنا jtpratt.com وانها لم تذهب الى ذلك جيدا. I did receive some 500 errors, and the homepage didn’t seem to get any post counts for the updated JavaScript WP-PostViews. أنا لم تحصل بعض الأخطاء 500 ، والصفحة الرئيسية لا يبدو للحصول على أي وظيفة تعول جافا سكريبت لتحديث الفسفور الابيض - PostViews. This blog is quite the exception since I use almst 4 dozen plugins, and quite a few of them are interactive - like SezWho, which enhances my comments. بلوق هذا هو تماما باستثناء منذ الأول استخدام almst 4 عشرات المحمول ، وعدد غير قليل منهم التفاعلية -- مثل SezWho ، الذي يعزز تعليقاتي. I disabled WP-Super-Cache here and backed out all the changes it made (to my .htaccess file) and deleted all it’s cached pages and deleted the plugin. أنا المعوقين الفسفور الابيض بين السوبر - ذاكرة التخزين المؤقت هنا وتراجع عن جميع التغييرات التي أدخلها (لبلدي. htaccess ملف) وأنه حذف جميع الصفحات المخبأة وحذف البرنامج المساعد. I even had to click “update” on my “Options -> Permalinks” page to get the site to act normally again. حتى أنا قد لانقر على "تحديث" على بلدي "خيارات --> Permalinks" صفحة الموقع للحصول على التصرف بشكل طبيعي مرة أخرى. I think most “normal” sites (that don’t have all the crazy hacks I have here) will do just fine traffic proofing with WP-Super-Cache. وأعتقد أن معظم "طبيعية" المواقع (التي لا تملك كل مجنون المأجورون لدي هنا) سيفعل ما يرام المرور تثبيت الفسفور الابيض مع سوبر - - ذاكرة التخزين المؤقت. If you use Popularity Contest or WP-PostViews use the updated plugins I linked to. إذا كنت تستخدم شعبية المسابقة أو الفسفور الابيض - PostViews استخدام المحمول تحديث يرتبط الأول. If you have other problems with WP-Super-Cache and a plugin - وإذا كان لديك مشاكل أخرى مع سوبر الفسفور الابيض - - ذاكرة التخزين المؤقت والبرنامج المساعد -- maybe Thaya Kareeson ربما Thaya Kareeson would be kind enough to help with this as well. وسيكون نوع ما يكفي لمساعدة مع هذا كذلك.
As always - if you have problems, questions, or something to add - please comment now! وكما هو الحال دائما -- إذا كان لديك مشاكل ، والمسائل ، أو لإضافة شيء -- يرجى التعليق الآن!
Tags: العلامات : wordpress-hack ووردبرس] - الإختراق



























May 3rd, 2008 at 11:02 am مايو 3rd ، 2008 في الساعة 11:02
Please feel free to let me know if you do have problems with your plugins while WP-Super-Cache is enabled. فلا تتردد في واسمحوا لي في معرفة ما إذا كان لديك مشاكل مع المحمول الخاص بك بينما الفسفور الابيض بين السوبر - تمكين ذاكرة التخزين المؤقت. I’ll see what I can do to make a mod to it and submit it to the original developers. سوف نرى ما يمكنني القيام به لتقديم وزارة الدفاع لأنها وتقديمه إلى مطوري الأصلي.
Thaya Kareesons last blog post.. Thaya Kareesons الماضي بعد انتهاء بلوق.. Creating a Staging WordPress Blog for Testing خلق نقطة انطلاق لاختبار بلوق ووردبرس]