Posts Tagged ‘WordPress’
Saturday, November 15th, 2008
MT 3.3 offers a built-in spam protection plugin called SpamLookup. In addition to this plugin, there are several other options you can implement to help stem the tide of spam. Note that the spammers are constantly improving their methods to game the system, requiring constant vigilance on the part of the MT community to keep coming up with new ways to block them.
* SpamLookup
SpamLookup is a Movable Type plugin, developed by Brad Choate, that uses several techniques to identify spam, and then uses user-supplied choices to either moderate or block it. SpamLookup is an integrated part of MT 3.3, so if you have installed the latest version of MT, there is nothing more you need to install. SpamLookup utilizes several blacklist services to check incoming comments and trackbacks against known spammers. It allows you to either “junk” or moderate comments and trackbacks based on different settings for links and keywords. You can even “white list” domains or IP addresses. To adjust the settings on SpamLookup, simply open up your Plugins menu from the System Overview of your Movable Type editing window. Scroll to the bottom and select “Show Settings” from any of the SpamLookup modules. See Neil Turner’s suggestions on Making the Most of SpamLookup and David Philip’s SpamLookup’s Keyword Filter Explained for more information on how to best use this plugin.
* Akismet
Akismet is a distributed spam filtering service developed by the Wordpress community. According to the Akismet FAQ, the way it works is “When a new comment, trackback, or pingback comes to your blog it is submitted to the Akismet web service which runs hundreds of tests on the comment and returns a thumbs up or thumbs down.” MT developer Tim Appnel has created an MT plugin for Akismet (MT-Akismet) which can be downloaded from the Akismet website. Many have found Akismet to be more effective at catching spam than SpamLookup.
* Comment Challenge
Jay Allen’s Comment Challenge plugin requires a commenter to type a keyword into a separate field from the comment field in order for the comment cgi script to run. This plugin effectively halts automatic computer generated spam comments.
* Use a “Captcha”
A captcha is a security code that a commenter must enter in order for her comment to load. The benefit is that it screens out automated comment spam bots. The downside is that it keeps visually disabled people from easily contributing a comment. Arvind has released an SCode plugin to work with MT 3.2 - MT-SCode 1.0.
* Require approval before a comment posts
One way to ensure that your readers never have to see a spam message is that you personally approve comments before they are posted. MT3 has the comment moderation features built-in. (See Settings > Feedback > check “Immediate publish comments from No one”.)
Close old comments.
One way to cut down on blog spam is to reduce the opportunities by closing the ability to comment on blog posts older than X number of days. Mark Carey’s BlogJanitor plugin lets you do just that, and all automatically.
Tags: built, Code, plugin, Security, SEO, WordPress
Posted in Blog Spam | No Comments »
Tuesday, November 11th, 2008
Designing any website, as well as WordPress Themes, the smallest detail in the layout and design can send even the most expert web page designer into fits. Since you probably aren’t a top-notch CSS and HTML expert, how about I show you the tricks they use for finding their CSS styles and tweaking those little bits and pieces into shape.
A web page is generated using a combination of HTML tags which basically hold the structural frame work of the web page, and a style sheet which provides instructions to those tags on how to look and where to put themselves. Going through a style sheet to find the solution to your problem isn’t as easy as it looks. But tracking down the style sheet reference inside of the web page and HTML tags is actually easier than you think. It’s a matter of tracking down the culprit by narrowing the suspects.
View Source of Web Page CodeView the trouble causing page in your browser. Look closely where the trouble maker is and note any text near the problem area. From the browser menu, choose View > Page Source. This will bring up a new window with the code behind your web page. Now, using your “find” (CTRL+F), search for the key text you spotted nearest your problem.
Tags: browser, html, Themes, website, WordPress
Posted in WordPress | No Comments »
Monday, November 10th, 2008
Photoblog
Monotone Photolog Theme for WordPressBecause it is very simple to upload images with WordPress soon users started to regularly post photos, using WordPress as a photoblog. Until the release of WP2.5 photobloggers had to use the custom fields to upload thumbnails for the archive or to create a filmstrip in the footer. With the new media uploader in WP2.5 this is not longer needed. WP now automatically generates a medium sized and a small thumbnail. Thumbnail sizes can be specified in the settings and used for the archives display or a filmstrip.
There aren’t many photolog themes for Wp and even less generate the photolog feeling with only one picture on the mainpage and a click on the picture goes to the previous entry. With the arrival of the Monotone Photolog Theme for WordPress theming in this area soon make become more popular. AFAIK Monotone officially is only released for WordPress.com, but can be retrieved from the SVN Directory.
Tumblelog
T1 Tumbletheme for WordPressTumblr is a popular platform, perfect for quick blogging items people stumble upon. I mentioned in my previous entry that Chyrp a great self-hosted platform is for your own tumblog (?!), but also WordPress can be used as tumble-engine.
Using WordPress as a tumblelog is not difficult: there are several themes to make your Wp blog more tumblr-alike and there’s even a Quick Post plugin for WordPress, providing the blogger with bookmarklets to easily submit content to their WordPress powered tumblelog.
Tags: engine, Platform, Theme, WordPress
Posted in WordPress | No Comments »
Tuesday, July 15th, 2008
Google Analytics is a great program that can do a lot more than most people realize. Here are a few features that you may not know about:
* Capture internal search stats. This is a newer feature of Google Analytics and a very nice one. Not only can you see what a visitor put into your internal search box, but what page they were on when they made the search and what page they chose in the search results. Any internal search will work as long as it passes the search variable through the URL. Here’s a short video interview with Google’s Brett Crosby on some of those features.
* Filter out domains. Let’s say your Google Analytics code somehow got on another site and your stats were getting tainted with irrelevant data. No problem. You can create a filter to not count anyone from specific domains you add in. Oddly enough, you can also filter out your own domain so your stats flat line. Not a good idea to do that though.
* Track document downloads or specific links. Adding a small piece of JavaScript to any link will tell Google to track when someone clicks on that link. This works for PDFs, Word documents, email address’ and external links. It also works if you want to see which two links on the same page are generating more clicks. Even though they go to the same URL, you can tag one link as ‘link one’ and the other as ‘link two’ and Google will track the clicks separately for you. Bonus Tip: If you have a Wordpress blog, you can instantly tag all links across your blog with the Ultimate Google Analytics plugin.
* Export to Excel. For any newbies, this is a time saving feature. Just about any report can have the data exported to a CSV file which Excel can open. You can now stop copying and pasting most data out of Google Analytics and into Excel and save yourself some time.
* Filter yourself out. This feature is a must do for any company. Find your static IP address and then set up a filter so Google knows not to include traffic from your company network. This ensures that your stats are not inflated due to employee’s surfing habits. This also is something you should consider for any partner companies. If you have a web development, or SEO company who is constantly checking out the site, filter them out too.
Tags: capture, company, company network, Data, downloads, Excel, features, few features, Five, Google Analytics, IP address, Javascript, Known, PDFs, people realize, plugin, program, SEO company, web development, WordPress, yourself
Posted in google, tricks | No Comments »
Monday, July 14th, 2008
Every website needs a Sitemap big or small. Sitemap should be linked to from every page on your site. A site map will help users and search engine robots find all the important pages on your site with just two clicks. This is especially helpful if your site has a hard-to-crawl navigation menu like java script or images based navigation. For WordPress blogs I recommend downloading this free sitemap generator plugin. You can see example on my sitemap page.
Smaller sites can use second navigation bar in the footer that will act as a small mini site map. This is nothing more than all your important pages as links in the footer.
By submitting a XML Sitemap to a search engine, you are making easier for that engine’s crawlers to crawl and index pages of your site. As Google describes it in this article
“Sitemaps are particularly beneficial when users can’t reach all areas of a website through a browseable interface.”
For regular websites there are many free online xml sitemap generators, just Google it but for your WordPress blog you can use this free Google XML sitemap generator plugin as it will also create Robots.txt file which is the next Free SEO Tip.
Tags: bar, Create, Every website, footer, free, google, images, java script, Map, menu, navigation, page, robots, Site Map, Sitemap, WordPress, XML
Posted in SEO, google, tricks, web designing | No Comments »
Saturday, June 28th, 2008
If you are hosting large files such as videos, podcasts, or large photo archives is transfer overages. Hosting services often provide a fixed amount of overall transfer with their hosting plans. A plan may include only so many MB of transferred data. After your account has reached that amount, you will be charged for any extra data that is transferred. Depending on the host, this could be as much as $1/MB.
At that rate, a single download of a 20MB file after you’ve reached your limit could cost you $20 extra on your hosting bill!
Usually, the higher the transfer limit, the more costly your hosting plan will be. Some hosting services offer plans with no transfer limitations, which can be quite costly, but certainly less costly than paying for transfer overages on a high-traffic site.
Tags: Depending, fixed, hosting, hosting services, large photo, limit, Overages, podcasts, transfer, transferred, videos, WordPress
Posted in WordPress | No Comments »
Saturday, June 28th, 2008
To determine why the bandwidth of the connection is important to a high-traffic site, let’s look at the math.
Assume your site receives 100,000 hits in a day. For the purpose of this computation, we will say that one “hit” is a single data transfer, whether that is a single file or a whole page and its supporting files. Averaged out, 100,000 hits in a day equates to 1.16 hits every second.
Also assume the average hit generates 160KB of transferred data; HTML, images, CSS, downloaded files, etc. Every second, your site is transferring 190KB of data (160KB/hit * 1.16 hits/s). The total, 190KB/s, equals about 1.5Mb/s of sustained throughput. (Note that KB = Kilobytes and Mb = Megabits. Most network speeds are rated in bits per second, whereas file sizes are measured in bytes.) Many network providers cap the transfer rate of a site to about this level; some higher, some lower. However, only if each user visits in a nice succession will this steady rate be maintained.
Usually, more than one user at a time will access your site. Sometimes during the day, nobody might access your site at all. If 10 people hit the site simultaneously per second, and that hit rate is sustained over a lengthy period — not uncommon for a high-traffic site — then you would need a 15Mb/s connection just to keep up with the simultaneous connections.
If your network adapters maximum theoretical speed is only 10Mb/s, your demand has already exceeded your capacity. WordPress had nothing to do with it.
It is not necessary to receive 100,000 hits to cause this problem. Sustaining this rate of connectivity for a mere hour generates only 36,000 hits. If visitors concentrate their access to a certain time of day (or an automated comment spam script attempts to access your system multiple concurrent times while posting comments) then you could be left with many dropped requests.
A 100Mb/s connection could handle up to 70 simultaneous connections at the same rate of download, but it is not likely that your network provider would offer the bandwidth that could fully use this speed without paying a premium. This is generally not something you can get with current shared hosting plans.
Tags: (Network, Averaged, bandwidth, computation, downloaded, high-traffic, purpose, speeds, sustained, transfer, transferred, Use, WordPress
Posted in WordPress | No Comments »
Saturday, June 28th, 2008
Depending on the quality of your server’s connection to the Internet, you may not be able to serve as many pages as you want to as fast as you want to serve them.
Your server’s network provider (your host or ISP) will usually connect your server to their internal network via an ethernet adapter. Adapters typically operate at certain standard maximum speeds, usually 10Mb/s, 100Mb/s, or 1Gb/s. Your server is physically incapable of transferring files of any kind in excess of this speed. There are additional barriers to your transfer rate that will likely reduce your server’s speed even more.
First, it is important to note that many of these numbers (especially the speed of your server’s network adapter) are theoretical. In practice, your server will never transfer files at the maximum rate specified by the adapter, because in addition to the actual data being transferred, the server is also sending and receiving routing information of different kinds that the internet requires to get data to your site visitors. Because of this “network overhead”, only a fraction of the full bandwidth is available for actually transferring files.
Second, your server is likely connected to various devices in your network provider’s facilities that will limit your transfer rates more than the limits on your server’s network adapter. These devices are in place because your network provider has to fraction out its limited bandwidth to many servers at its location, and all of the bandwidth must be shared.
Certain network providers allow you to “burst” data — temporarily exceed a pre-set transfer speed limit — in special cases when demand for your site content is high. The network provider’s hardware is specially designed to know when this is required. Some providers charge extra for this feature, some do not, and others do not offer this feature at all. It’s up to you to find out.
Tags: Connection, facilities, fast, internet, ISP, Network Limitations, quality, transfer, WordPress
Posted in WordPress | No Comments »
Saturday, June 28th, 2008
WordPress is a web-server-neutral application, meaning that it can run on many different platforms. Apache and Linux are the most robust platforms for running WordPress, but any server that supports PHP and MySQL will do.
Make sure your host features the most up-to-date and stable version of these platforms to create a strong environment in which to run WordPress.
Choosing the best method to run PHP, the language that interprets the WordPress code, can also affect your server’s performance. In CGI mode, the server creates a new instance of the PHP program for every PHP file that a visitor requests. In shared module mode (or ISAPI), a single library instance is used for each PHP hit. There are advantages and drawbacks to each method - while choosing the method for your server, be sure to keep in mind traffic and its demands on the server.
Tags: CGI, demands, ISAPI, method, MySQL, PHP, platforms, server, traffic, version, Web service, WordPress
Posted in WordPress | No Comments »
Friday, June 27th, 2008
WordPress, as with many blogging and web applications, depends on MySQL to store data for producing output. Every request that WordPress makes to MySQL for reading or writing data puts load on the server.
WordPress is continuously optimized to reduce the transactions required to perform its functions; However, in high-traffic situations, many simultaneous connections to the database can cause excessive load on the server. In this case, connections to the server may not complete, causing the typical “Connection timed out” response in the visitor’s browser.
In most cases, MySQL connection rates can be improved by either adjusting settings for MySQL, or providing more memory and processing power to the overworked server.
Tags: adjusting, applications, browser, continuously, functions, Improved, MySQL, overworked, power, processing, Settings, transactions, WordPress
Posted in WordPress | No Comments »