Blog

Archive for Wordpress

Optimize wordpress for your server

 

Today I m going to talk about very popular blogging platform or content management system behavior towards the server, which happens behind the scene.

Very often people can see their hosting account get suspended because of excessive resource usage. Truly its a moment of panicking when you see a suspension message is hanging on your own site where people come to see and become disappointed. So to prevent this kind of harassment you should take precautionary measures to minimize your server load by tweaking into your content management system platform.

WordPress and server usage:

Why very simple and sleek blogging platform like WordPress consume excessive resource! How you can reduce or less your server resources by tweaking in WordPress! Well, today, I may cover only WordPress but I will be trying to release another article for you to help.

If you use WordPress than you can find WordPress is great software because of its ease of use, it does have a history of using excessive server resources (such as memory and/or CPU time) at times. This is not always the fault of WordPress directly, but instead it could be the result of either:

  1. A coded plugin
  2. Custom theme sometimes with too much unnecessary features

With so many lines of code in WordPress and custom user code written in plugins and custom themes, pinpointing directly where the excessive server resource usage is occurring is a difficult task. To solve these multidimensional problems, we can approach one by one.

#1. Stick with the latest updates:

Days passed, new bugs come up and developers jump on it to fix and they release updates. So it is better to be updated on your WordPress platform, plugins and themes regularly. Because it is seen that most recent versions have the latest optimization that can prevent you from your WordPress website being hacked or suspended for excessive resources.

#2. Budget the functions you need for your theme:

Statistic shows that most of the people choose WordPress theme/template by only seeing its design and outlook. Yes, outlook is a vital point on choosing your preferred WordPress theme but very often these themes come up with so much garbage functionality that makes the site load slowly and give pressure to the server CPU. So before making your best WordPress template selection, you should budget the function you want along with the look you dream. It better to avoid team Avengers when Hulk is fair enough.

#3. Choose the best coded plugin for your wordpress website:

If you are not rich enough to play with server memory than you may try to avoid using these plugins as to perform the task these offer, consumes a lot of memory of server.

List of WordPress plugins use excessive server CPU/Memory usage:

Broken Link Checker Pounds the server with HTTP requests.

Dynamic Related Posts Almost all Related Posts plugins suffer from the same fundamental problems regarding MySQL, indexing, and search making most very database intensive.

WP Smushit Relies on Yahoo services and memory mapping… When Yahoo fails or memory mapping is exceeded, the plugin fails and brings down sites with it.

MyReviewPlugin (MyRP) SLAMS the database with writes at orders of magnitude.

LinkMan? Related to MyRP.

SEO Auto Links & Related Posts? Creates large and inefficient queries which load down the database

Fuzzy SEO Booster Thrashes MySQL

WP PostViews? inefficiently writes to the database on every page load. Try something like Automatic stats or Google Analytic to track traffic in a scalable manner.

Tweet Blender

Similar Posts- Does FULL TEXT indexes on MySQL which does not scale.

Contextual Related Posts- Does FULL TEXT indexes on MySQL which does not scale.

List is collected from WP Engine and I have removed some from the list because those are vital for SEO of WordPress and enhancing functionality.

#4. Install WP Super Cache/W3 Total Cache/Memcahced WordPress plugin:

Though sometimes these plugin works in a different way but their purpose is all the same and that is reducing server load. These reduce a site server load by creating static html versions of pages as they are requested, which are then served the next time anyone hits the page. This means none of the php scripts or database calls are executed the second time around, so the server has to do a lot less work per page view, as it is not calling the database over and over again and need not to wait for database to respond. It also has the benefit that cached pages are served quicker, and thus provides a better user experience and speed in surfing the site. In order to know how memcahced works and the installation process please visit Memcached and WordPress.

We always face the best in everyday. So, these four steps may make a very good and exemplary change on your WordPress and server and may save you from spending more bucks on buying a VPS but you should look always for the updated tips and tweaks available online.

Hoping to hit back to you with a similar article for a different platform soon. Originally posted on SuperInception.com

Posted in: Hosting Service, Platform, Server, Wordpress

Leave a Comment (0) →

Configure your WordPress website with High-performance, distributed object caching system : Memcache

WordPress is a great piece of blogging / CMS software. If your running a WordPress site and your having growing pains, you can combine the two to handle increased traffic and, more than likely, get pages to load faster for everyone.

WordPress has built-in support for extensible caching, but by default, it only valid for one session. While this helps speed up page loads / reduce server load for individual users, caching the objects in a non-session-exclusive (persistent) cache has much more potential for performance improvements and generally scales better. (You can read more about built-in WP_Cache mechanisms here: http://codex.wordpress.org/Function_Reference/WP_Cache)
We recommend and have successfully implemented the WordPress plugin Memcached object cache (http://wordpress.org/extend/plugins/memcached/), which is trivial to install / configure. By default, XeonBD’s all shared servers are running a single memcached server on the same server that PHP is running on (i.e. 127.0.0.1 or local host). It also having the port 11211, which is the “standard” memcached port.

memcached actually installed, running and accepting connections on whatever you configure Memcached object cache to use (127.0.0.1:11211 is again, the default).

Installing the actual adapter that lets WP_Cache use memcached is just a matter of putting the object-cache.php into your wp-content directory. If your set up using the defaults, it should just start working immediately. This, in combination with the fantastic WP-Super Cache-Plus plugin (http://wpscp.trac.armadillo.homeip.net/) will allow your site to handle much more traffic than would otherwise be possible.

Posted in: Featured, Hosting Service, IT, Platform, Server, Web Design, Wordpress

Leave a Comment (0) →

WordPress username security | WordPress 101

For WordPress users, following are the very basic and obvious security installments for your WordPress powered website. Apply the security enhancement if you haven’t done yet.

Follow the steps very precisely and you will find your definite goal.

1. Change your username admin to something else:

If you install WordPress manually, this involves modifying the database. Fantastic users are able to pick admin user and password as part of the installation process. There are more fields to fill in but you may end up with more secure WordPress installation.

123

4

5

$ mysql -u bloguser -pPassword: mypasswordmysql> use myblog;

mysql> update wp23jk1_users set user_login=’myadm’ where user_login=’admin’;

mysql> exit;

You may use phpMyAdmin and paste the SQL command (the update line) to execute it.

 

Alternatively, you may edit the value manually using phpMyAdmin web interface.

 

Now your admin user name is myadm instead of admin.

2. Pick Secure Password for Admin

Changing your admin username to something else is not a guarantee that people will not be able to guess it. For instance, if you use your username as the displayed meta data in every post, or you enable author specific page in multi-author blog, you will reveal your user name to the world.

With that assumption, you should pick secure password for your WordPress login. Combine upper and lowercase characters and numbers. You can also follow the following link in our blog to find out how to create a strong password.

http://www.xeonbd.com/blog/tag/how-to-create-a-strong-password-so-easily/

Posted in: Platform, Wordpress

Leave a Comment (0) →

Useful WordPress Plugins

There are several thousands of WordPress plugins in the WordPress community and new plugins are coming out each and every day. However, not all plugins are useful, in fact some are very bad written that will mess up your site or harm your WordPress installation. So how do you know which plugins are right for you? Well, here is a list of plugins those are found useful. Hopefully you will find something useful here.

WP Cache

To save your SQL server resources, WP Cache works by caching Worpress pages and storing them in a static file for serving future requests directly from the file rather than loading and compiling the whole PHP code and then building the page from the database. It is a very useful plugin if you have a high traffic site or low performance server.

WP eCommerce

Want to sell stuffs on your blog? You must check out this WP eCommerce plugin byInstinct. It is an Ajax powered shopping cart, very easy to use. You can setup your shop in minutes through the Admin panels.
Intouch Ajax contact form
I’ve been using this contact form for over a year. It works very good and filters all the spams. Seriously, NO SPAM at all. It also allows you to customize the email subject, thank you messages, and adds addition form fields.
Secure and Accessible Contact Form
Another contact form by Mike Cherim and Mike Jolley. Although, I have never used this contact form before, but I’ve been hearing good rating on them. So, give it a shoot.

Sideblog

One of the popular WordPress plugins, Sideblog is the best way to post short notes on the sidebar. I use it for Best Web Gallery. It gives you options to define the sideblog category, how many entries to display, and whether to exclude from RSS feeds.

WP PageNavi

WP PageNavi adds a better paging navigation to your WordPress site. It is nice if you have a lot of posts because it allows your visitors to skip from page to page. I use it onN.Design Studio and Best Web Gallery.

Sociable

Sociable appends a list of the social bookmarking sites (ie. Digg, Del.icio.us, Reddit) at the end of your posts and allows your visitors to bookmark. I used this plugin before and it worked very well.

Ajax Post Rating

WP Post Ratings adds a 5-star Ajax rating system to your posts/pages. It works like a charm. Hint: most CSS gallery sites use this plugin.

Ajax Comment

A very simple yet effect Ajax comment plugin, it checks if all fields filled correctly (so your visitors will never see the default error messages), and also makes sure to avoid comment duplication, and has flood protection capabilities as well.

Ajax Inline Comment

This plugin gives your visitors an Ajax live comment preview. It is great if they need to enter HTML tags in your comments. So, no more syntax errors in your comments.

Ajax Polls

As seen on Web Designer Wall, it adds a Ajax poll system to your site. It is very flexible with a lot of features. Layout is completely customizable via Admin panels. It also allows you to archive the polls. Highly recommended!

Gravatar 2 Plugin

It basically display a Gravatar (globally recognized avatar) of your commenters. In case you don’t know yet, Automattic (WordPress creator) just acquired Gravatar and the future Gravatar services will run faster and bigger sizes (up to 128px).

Digg This

Digg this is a WordPress plugin that detects incoming links from Digg.com to your wordpress post and automatically display a link back to the digg post, for people to digg your story. When a digg is first recognized, it will send an email to the site’s admin.
Subscribe to comment
Subscribe to Comments 2.1 is a plugin that allows commenters on your blog to check a box before commenting and get e-mail notification of further comments. You probably seen it already, it adds a checkbox “Notify me of followup comments via e-mail” in the comment form.

Admin Drop Down Menu

I’ve been this plugin since my first WordPress site, it is a must have for every WordPress site. It saves me so much time and clicks. It basically makes your secondary menu activate on mouseover. For example, instead of click Write, then click Page; you can mouseover Write and click Page (this will save one click and one pageload). Big time saver!

Adsense Deluxe

Adsense Deluxe is probably the best Adsense plugin available on the web. Very easy to use: first you define your ad code through the Admin options, then insert a HTML snippet (“”) into anywhere of your post content, and it will automatically repace it with your ad code.

Search Everything

Default WordPress search engine doesn’t search metadatas, static Pages, etc. This plugin allows you to search everything in the database. Of course, it comes with options, so you can set what to search.

Ajax Calendar

If you use calendar in your sidebar, consider this Ajax Calendar. Your visitor can browse through the calendar without refreshing the page.
Breadcrumb Navigation XT
Although not many sites use breadcrumb navigation now, but if you want, here is one:Breadcrumb Navigation XT. It basically lets you add a breabcrumb navigation to your site.

Google Sitemap Generator

If you need to generate a XML compliant sitemap for search engines, Google Sitemap Generator is the best choice (supported by most popular search engines: Google, Yahoo, Ask.com, and MSN).

Simple Recent Comments

Another must have plugin. In fact, it is in all my WordPress sites. It outputs a list of recent comment excerpt. You can install as WordPress plugin or simply include in your theme folder (no activation required). Simple!

Simple Tags

As of version 2.3, WordPress has a built-in tagging system, however with very limited features. Simple Tags gives you more features: type-ahead / auto suggestion tags, manage tags (rename, delete, add..), edit mass tags, dynamic tag cloud colors, and more!

WP Mailing List

Not sure if anyone would still signup newsletter since we have RSS now. But newsletter is the best way to inform your subscribers with new products and updates. I find this plugin will be useful if you run a WP eCommerce shop. It is not free (cost $14.99), but totally worth it (check out their features).

Category Tag Cloud

If you want to fake your categories into a tag cloud like what I did at Best Web Gallery, here is the plugin Category Tag Cloud. It is very easy to install and customize.

Paged Comments

This plugin is useful if you get a lot of comments on your blog. It breaks your comments into a number of pages. Imagine if your blog gets over a thousand of comments? You definitely need this plugin.

flickrRSS

This plugin allows you to easily display Flickr photos on your weblog. It supports user, public and group photostreams. The plugin is relatively easy to setup and configure via an options panel. It also has support for an image cache located on your server.

Theme Switcher

Theme Switcher allows your readers to switch among installed themes. This plugin is useful if you offer WordPress theme and you want to let your users to preview the themes. I use it to showcase my free WordPress themes.

Posted in: General, Open Page, Wordpress

Leave a Comment (0) →