WosServer: Tweaking Your Blog for your Stick Part 2

After yesterday’s little experiment, I began playing with the WosServer and found some little tricks for bloggers, would-be marketers or developers.

If you already have a blog or site that you are working with that is live, you can create a full version on Wos. It’s a little fussy but you can do the following things…

For parts 1-5, see WosServer: A Useful Tool in your Armoury.

  • Step 6: Download a copy of the database from your website (via the PHPMYSQL interface or wizard).
  • Step 7: Get and install the WP PHP Admin plugin. Activate it as usual. Head over to the new tab.
  • Step 8: Activate the plugin. Then carry out an import operation to import your downloaded file into the WosServer MYSQL database.

phpadmin plugin used

Image shows: plugin activated and accessing my database.

  • Step 9: (optional) If you encounter a problem with the size of your file, you will need to go into the PHP files in Wos Server, and edit the php.ini file to increase the permitted size from 2M to something more reasonable if you have a BIG blog, like mine.
  • Step 10: Download the complete wp-content/ folder with ALL the pictures, too.
  • Step 11: Move the wp-content/ folder to its rightful location, images, plugins, themes, etc.
  • Step 12: You will also need to change the database name in wp-config.php to your imported database name.
  • Step 13: You will need to edit the ‘options table’ in your database from http://www.yourblog.com to http://127.0.0.0/wordpress twice or you won’t be able to access your blog. It will keep taking you to the live site. You will see the first of the two entries in the wp-options table in the first row named ‘siteurl’, the second entry is on page 4 of the list, entitled ‘home’. Change both of these to your new URL. It’s difficult to change them within WordPress like this, because you will end up on your live blog.

Oh, and when you login for the first, do remember to use your original blog password, not admin/password for the WosServer. Oh, and there’s no email reminder! So don’t forget! The good news is that the plugins/wordpress core updates all seem to work fine as they do in version 2.7. Good luck.

 

WordPress 2.7 – Five Reasons You Shouldn’t Wait To Upgrade WordPress Today!

With the recent and much anticipated release of WordPress 2.7, I was reluctant to upgrade some of my blogs because of past foibles, bugs and unexpected incompatibilities with plugins. So when I read that 2.7 was released, I was initially reluctant to upgrade ANY of my blogs. So I started with a couple of them, and updated, tested things out, and moved on. Ordinarily, I would have waited until 2.7.1 was released as a bug fix for some of the issues that area always present in a full release of WordPress.

Overall, I’ve been very impressed with WordPress 2.7, in the few days that I have used it, and I’m a little frustrated that some of the hosting companies I work with haven’t updated the software on CPanel yet. Of course, Dreamhost jumped in pretty early, and that’s why I was happy to try it out. I’d say that there are five basic reasons I like this version of WordPress more than any previous release.

1. A Simplified Dashboard: You can eliminate clutter!

The dashboard has long been a bone of contention for me, because of the tendency of WordPress to want to flaunt its gimmicks, updates and features to all and sundry. In this version, though, users get to turn off the feeds, through the screen options at the top right. Simply uncheck the things you don’t want. Voila!

wp admin area

Additional features that are helpful are the little downward arrow that occurs at the top of most boxes, in the top right corner of each box. Simply clicking on that arrow or area closes or opens the dialog box in an obvious fashion. You’ll see the downward pointing arrow next to tools (see highlighted area). It works simply in a toggle fashion. These toggle switches are all over the admin area. To find them, just hover over the task bar for each item on the right hand sided.

down arrow in wp admin

The dashboard area is divided into three areas: the sidebar on the left where each of the menu items can be opened and closed; the central column which includes the stats box, the writing box; and the right column that pretty much includes everything else. As you can see from mine, it’s easy enough to pick things up and move them around a lot. Clicking on the words “screen options” highlights an area where you can turn off things you don’t want to see.

The right sidebar includes several new designations which may be confusing to new users. First the ‘pages’ button has moved to just below ‘links’. It used to be located right next to ‘posts’. This confuses me now. I often hover between writing posts and pages, and now I have to look further afield to find the pages button. It seems illogical to place it after ‘links’.

The old ‘design’ menu has been renamed ‘appearance’ on 2.7 but functions in pretty much the same way as the its predecessor. The Tools menu, however, is a new one and features several items that were moved from the former ‘Manage’ menu, including import/export functions. The Upgrade items, though, hint at some of the new features of WordPress that make management much easier (more later).

2. Keeping Upgraded – it’s getting easier!

Plugins are getting easier to manage: You will soon no longer need to use FTP to upload stuff – plugins and core upgrades can all be done within WordPress itself. This leaves ‘themes’ as the only item that now needs FTP. I imagine that future versions of this will remedy this. Other software, such as Joomla or SMF, have long had this ability. Right now, you can upgrade a plugin in much the same way as uploading other items. Find the item ‘plugins’ on the left hand menu. Click it, and you will see it open slowly to reveal four options. To add a new plugin, click on the words ‘add new’, and you will be taken to a page where you can upload a zip file of the plugin which is uploaded and installed. After it’s done, you can activate it straight away. A nice touch. Just hit ‘install now’ to upload the plugin!

plugins management

It’s also much easier now to find new plugins. Take a look at the next screenshot: you will see what I mean! The tags below the upload button hint at the next page. These plugins are from WordPress.org’s own plugin area, and clicking on the tags reveals that they can all be downloaded and installed quickly and without any fuss.

install plugins

In fact, activating and inactivating plugins has also got easier as has removing unwanted plugins. Simply just click on the plugins area on the sidebar, usually under ‘plugins’ >>> ‘installed’ menu option. You’ll find it easy to manage plugins from there, including removing them completely!

But this plugin management hints at another feature (one that I have not needed to try yet)… upgrading WordPress can now be done entirely from WITHIN the admin panel. Take a look for yourself! Under Tools >>> Upgrade, you’ll see the following dialogue.

upgrade wordpress

Very tempting when you can choose to download and reinstall automatically. I have no idea how this works, yet. But it would be a neat variation IF you could upgrade from WITHIN the admin area. Perhaps this is just teasing us.

3. Commenting from WITHIN WordPress

Admins often had to comment in a very odd fashion before: read the comment in the comments area; find the post in the archive, read the post, and then comment in the comment box AFTER the end of the article. Now it’s much easier:

comments reply wordpress

Just hit ‘reply’ to answer the query and a simple but functional comment box will appear just below, enabling you to answer without messing around in the archives! Of course, this presumes that you remember what you wrote!

4. Quick Posting and Quick Editing

The commenting function also has another feature that hints at much more power: the quick edit button. Clicking on the Quick Edit enables you to edit the comment very quickly, without calling up the entire post or page where it is entered. But the ‘quick’ idea has been extended with in several ways: making a powerful trio of blogging tools.

QuickPress : on the admin page, when you login you’ll be taken to a dialog box that enables you to write a short post, with media and tags and publish it in a matter of minutes! While you don’t have a WYSIWYG editor, you can learn some simple codes to faciliate quick blogging (they’re all available in the Write Post area).

wp admin area

Quick Edit is also enabled in the post and page view, and allows you to quickly update a number of features (the usual suspects that a busy blogger will forget in the heat of the moment!): such as tags, categories, slug, date or more…

quick edit post

This combined with Press Links (shouldn’t it be called ‘Quick’ Links?) means that posting, editing, linking and commenting can all be carried out fairly rapidly.

5. You can now add media without creating post

This is another puzzle from the previous version that was finally finished! For years, I never thought about uploading media to WordPress. I simply created a post and added the stuff I wanted… until last month when I created a batch of videos and wanted to upload them all at once. I would have had to create a post and add each one one by tedious one! Now it seems, I can simply upload media as I need and when I’m ready I can create a post and find the media I already uploaded! It’s funny, but that’s something you don’t need, until you really need it! And now it’s here!

upload new media

Now it would be nice if I could upload a number of files at one go! Oh, wait! It does! Or at least I think it does! I’m practising uploading media now! Now I wonder how I can create a simple gallery from these files! …

Spam, Ham: What do you do with over 1000 of them in your comments queue?

After New Year, I came back to a huge glut of spam in my database! I hadn’t configured a standard plugin because I thought the blog would go relatively unnoticed! Boy! Was I wrong or what? The queue contained over 1000 spams, that didn’t include spam in my comment plugin either.

spam I am

So how do you deal with a huge queue of spam like that? I spent ages clicking page after page when I realized that I was doing it the stupid way.

Continue reading

30 Tweaks for Setting Up WordPress For the First Time

This is a short checklist of items that I created when I was setting up a friend’s new blog. It’s pretty much all the tweaks, I make to a standard install of WordPress that I use.

Once you have created your admin user:

  • 1). Login and set the password to something you can remember!
  • 2). Update any pre-installed plugins that you need, remove any that you don’t.
  • 3). Set the title and Tagline in General Settings
  • 4). Check your WordPress address is correct
  • 5). Update your email address.
  • 6). Check the membership of the blog including the New User Role
  • 7). Don’t forget to check your timezone!
  • 8). Go to the writing tab, and check the size of the post box! I usually set mine to 15 lines.
  • 9). For remote publishing, I always check the XML-RPC box.
  • 10). Add any Update Services that you want to ping.

On the reading tab in Settings:

  • 11). Set your frontpage, to either blog style or have a static page.
  • 12). How many posts do you want per page? Five is a reasonable number
  • 13). Set your feed to show the ‘x’ most recent posts. I usually set that to 10 if I’m doing full feed or 25 if not.
  • 14). Set your feed to show the full text or summary. Most people recommend the full text for feeds.

On Discussion Settings:

  • 15). I always set “An administrator must always approve the comment” which is ideal for a new blog, and prevents unnecessary spam.

On the Privacy tab:

  • 16). I always set to “I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers” but if you’re for a small or private audience, then check the other option.

On the Permalinks tab:

  • 17). Set the options for your permalinks. I usually use the /%postname% tag with something else, for example ../archives/%postname%/

Plugins – There are two plugins that are pretty useful to get at the beginning:

  • 18.) Akismet for spam. You’ll need a WordPress.com API key for this.
  • 19.) WP-Cache Manager. You’ll need to activate it, enable the manager and set the time (in seconds).

Users Tab – On the Users tab, click to find your admin profile:

  • 20.) Set the Nickname to something you like. Hit ’save’.
  • 21.) Set your “Display name publicly as” to the Nickname in 20.)
  • 22.) Check your basic details, Website, and any Bio. Info.
  • 23.) Go to the Design Tab.

If you have a good host, you’ll have a variety of themes pre-installed.

  • 23.) Find a good one, activate it.
  • 24.) Go to the Widgets and select the ones you need.
  • 25.) Go to the Theme Editor…
  • 25.) Add your Google Analytics code in the footer!
  • 26.) Add any other code that you might need to the footer.

General Tidying Up: Let’s set the links categories

  • 27.) You will need to decide what links categories you need.
  • 28.) Remove or add any particular links you need in the blogroll.
  • 29.) Set your initial categories for posts, too.
  • 30.) Remove the Hello World post and default links in the blogroll!

This has been honed over numerous installs of WordPress, but is by no means the only possible set. If there are any errors, please read the comments and submit one!

WordPress 2.7 is coming – the preview…

Well, WordPress 2.7 is just around the corner, yet another upgrade, yet another version that is likely to introduce all the things we love and hate about WordPress

New Features and Bugs

Take a look… I won’t be in the first wave of upgrades at all. I’ll likely hang around for version 2.7.1 before upgrading unless there’s an immediate requirement to upgrade.

I think the interface will be useful and more friendly, but I won’t really know until my customers have tried it out! For more information, check out an extended discussion at WebTools Collection.

Security in WordPress: Are you still showing YOUR plugins?

Michael Kwan’s blog was recently hacked by a clever hacker who managed to hide his visit neatly. Michael will tell you all about the story at his blog. This event plus a couple of other events has got me thinking about blog security . I’ll be doing a fuller post on my own experiences, ideas and suggestions.

It’s going to be a long post, so it will take some time to put all the pieces together. In the meantime, why don’t you sign up for my feed… so you don’t miss it!

——-
For more interesting articles on running a business, making money, operating your blog, , and so on…, subscribe to the RSS feed or email newsletter. There’s a lot more in the Random Walk to Wealth on InvestorBlogger dot com.
——-

Apart from the obvious tactics of keeping your blog software, themes, and plugins uptodate, several bloggers have suggested ways to make it more difficult to find out which version of the blog platform, and which plugins, you are actually running.

The typical solution is to add a blank html file to the /wp-content/plugins/ directory which will show a blank page, or in John Cow’s case a Moo! But I was surprised to learn that this technique fails to stop an easy way around this. It is possible to discover quite easily any plugin that you can guess is installed and retrieve the directory listing for that plugin even though the higher level directory is masked. Take a gander:

johchow

(This image was taken from one of my other blogs with the WP-Cache plugin installed and active.)

I found the directory for the wp-cache folder for another blogger who had otherwised masked his plugins directory with the standard blank HTML file. Unfortunately, a determined hacker will be able to figure out which plugins you likely have, rifle your directory of files to see which files exist in the subdirectory of plugins, and perhaps hack your blog… I could see the contents of this wp-cache directory, plus all the other ones I knew this blogger to have been using. Mmm! I didn’t think that was particularly secure.

What alternatives are there?

Standard .htaccess

Yes, you could simply use an ‘htaccess’ file to secure the plugins from display but you would have to manually write and upload the file to each and every plugin directory that you already have. This could be done more than ten times on my blog, I think. It would look something like this:

Redirect 301 /index.html http://www.your-domain.com/
Redirect 301 /index.htm http://www.your-domain.com/
Redirect 301 /index.php http://www.your-domain.com/

But I realized that with the most commonly suggested solution to prevent viewing plugins, namely a 301 redirect, it is still possible to view the contents of any directory of any plugin below the directory in which the htaccess file is placed. So even if you place the htaccess in the directory of any particular plugin, some plugins also contain subdirectories (for images, etc.) that will still be visible. Tiring work…, so…

IndexIgnore

If you have a lot of directories in the plugins folder, the simple and easy solution is to create an htaccess file with the following command: “IndexIgnore *” and place it in the /wp-content/plugins folder. This should prevent anyone seeing the listing in that folder or any folders below that level. It generates an error like this:

investorblogger

It’s not very pretty but it’s effective so browsers won’t display the contents. It could also be an opportunity wasted. Why?

HTML file

The standard blank HTML file mentioned above looks something like this:

<HTML>
<HEAD>
<TITLE>Blank Page</TITLE>
<META HTTP-EQUIV=”Content-Type” CONTENT=”text/html; charset=utf-8″>
</HEAD>
<BODY>
</BODY>
</HTML>

Then Michael Kwan suggested adapting it to a page redirect in a chat we were having. He wrote: “…i’m thinking that it’s also possible to do a index.php and then put in a redirect… if you keep this file handy then you can upload it each time you install a new plug-in…” I began to think: What a good way to turn a problem into an advantage! I’m using an HTML file, though, not a PHP file.

The blank HTML file doesn’t show anything, and inadvertent visitors will not know what’s wrong. And the 404′s only show that a page was not found. So why waste the opportunity? I’ve adapted some simple code that I use, and it should work a treat. I would like to attribute this code, but I can’t remember where it came from!

Page Redirect

With this page redirect, it’s easy to redirect visitors quickly and conveniently to the most recent posting or indeed any specific page you want:

<html>
<head>
<title>Your Domain</title>
<meta name=”robots” content=”noindex,nofollow”>
<script>window.location=http://www.yourdomain.com;</script>
<meta http-equiv=”refresh” content=”1; url=http://www.yourdomain.com“>
</head>
<body>
<p align=”center”>You are going to Your Domain Name now…
<br>If the page does load after 5 seconds or if you are (like me) impatient,
<a href=”http://www.yourdomain.com“>just click here</a>.</p>
</body>
</html>

The only downside is that you’d have to add this to every plugin directory the first time. But you could easily keep a copy somewhere and copy it to any subsequent plugin directory before you upload the plugin.

Thanks to Michael Kwan, and others for providing information that helped to write this blog. I’d appreciate any updates on security, so just drop me a line, especially if I got something wrong.

(Post edited for language, clarifications, and so on.)

WordPress 2.3.3 Security Upgrade: A simple upgrade technique

Today’s announcement of an insecurity in WordPress 2.3.2 may have spooked a few people:

WordPress 2.3.3 is an urgent security release. A flaw was found in our XML-RPC implementation such that a specially crafted request would allow any valid user to edit posts of any other user on that blog. … If you are interested only in the security fix, download the fixed version of xmlrpc.php and copy it over your existing xmlrpc.php.

I have already applied the patch the blog, to ease my mind. To apply the patch, I’d recommend the following five steps:

  • Step 1: Download the patch directly from WordPress.org.
  • Step 2: FTP to your account and login.
  • Step 3: Find the xmlrpc.php file in the /yourblog.com folder and rename it as xmlrpc.old.
  • Step 4: Upload the new file to the same folder.
  • Step 5: Once everything’s working, move the file to the root of your FTP User account out of harm’s way.
  • (If things go wrong: rename the new file you just uploaded as xmlrpc.new. Then rename the xmlrpc.old as xmlrpc.php until you can fix the problem. Of course, this is a good technique but the patch is a SECURITY patch, so you really OUGHT to upgrade the xmlrpc.php to the latest one.

If you’re ever upgrading plugins or even themes, renaming a current file or directory as *.old is a good way to give you a Plan B, just in case things go wrong when you install the new theme or plugin or file. You can simply revert to the old versions, provided you haven’t updated the database. CAUTION in upgrading is ALWAYS advised.

And, just in case you think hacking can’t happen to you, read several postings on MattCutts blog about his true but less severe hacking. There’s also a post on John Cow’s blog that got me thinking about this issue.

If you know any other great posts about blog security, do add them in the comments!

Newsbytes on InvestorBlogger: Apple Hot Air?, Affiliate Linking, Banner Plugins for WP and more…

Well, there’s a lot of little stuff that I need to share with readers this Friday… So we’re starting off with five stories that caught my attention.

A quick review

Here are my top (I like them!) stories this week:

Do visit and comment on these stories!

Apple Air vs. Asus Eee II PC

Wow! My new friend Nam (from Nationwide and supplier for our school) and I were chatting about upcoming PC products as he was delivering my new PC Baby for my colleague. These exciting products are including the ASUS Eee II PC with 8.9″ screen (The Enquirer) and the MacBook Air. There are no real schematics on the first product yet, except it’s rumored to have WiMax support built-in and extra memory… But…

Still, this week so the announcement of the launch of the new MacBook Air priced at $1899 for the hard disk version and over $3K for the SD version. Enjoy looking at the pictures and watch the BBC video.

MacBook Air

Lust for this device, if you must! Just keep your credit card away from your computer screen…

Of course, you know which one is cheaper and which one is cooler. But Nam was saying “It’s better for companies simply to launch products with as little fanfare as possible, otherwise they risk sales as people wait for companies to launch products in the future. This means no sales now for existing products and no sales for forthcoming products either!”

NetAudioAds News: Hide those affiliate links

I got this newsletter from Charles Heflin, which is something I hadn’t considered about affiliate links and the reasons why affiliate marketers need to hide their links. I’ve bolded the important parts.

Hello Kenneth,

As the PPP opportuity grows we are seeing an increased
level of people signing up directly under the default
account
. sellingppp.com has not advertised the PPP
opportunity except for the initial launch back on
December 6th. We are leaving the advertising to our
affiliates (you).

The reason I bring this up is because the only way that
sellingppp.com would get any traffic is because of you
.
With this fact in mind we find it interesting that we
continue to get sign-ups by the thousands under the main
account. Very little traffic comes from the search engines,
the rest is coming from affiliates.

The point I am trying to make is the only way we could be
getting that many direct sign-ups is because people are
ripping the affiliate ID off of affiliate links and just
going straight to sellingppp.com and bypassing the affiliate
all together
.

This is a strong case for the fact that you should
“absolutely” cloak your affiliate link
.

This is just a heads-up … If you are not cloaking then
you are losing sign-ups.

….

Thank you,

Charles Heflin
Marketing Director
PPP, NetAudioAds Group

I’m looking at the possibility of running these ads on this blog for a short while as a test on one of my other blogs to test for acceptability and revenue. But I will consider hiding affiliate links now, I think.

Plugins: Banner Rotators

I’ve been trying different Banner Rotators over the past few months, starting off with Shylock Adsense which would actually rotate a lot of things, because you just need to paste the code. It was easy to use with Adsense because its system naturally limited you to the number of Adsense boxes per page permitted by Google. Worked nicely, very flexible and stable. But when my demands changed, I had to change the software, too.

I’m currently using WordPress Banner Rotator v2.1.3 to handle all the banners, and it seems pretty stable, though some functionality and documentation have issues. It’s commercial software though it won’t break the budget at $14.99 as a download. It’s working well in many ways, but there are some problems that I have discovered with features not working as anticipated. I’ll be doing a full review soon: active banner switch and future date expiry don’t work as anticipated (or not at all), but otherwise pretty stable. I’d like an option to weight ads, too. Some of these problems would be easily solved by setting up ‘ad management software’ and using that code within this software. Such software would manage the ads more effectively, such as OpenAds. It seems pretty stable, though.

Advertising Page

I’ve recently updated the Advertising Page with a lot more information, options and pricing. I’ve even added an ‘advertiser’s mailing list’ which will go live just as soon as I’ve figured out how to operate Zookoda.

Stories in the Works

I’m working on three stories that should come out in the next few days: including one on Technorati Rankings, Using your house as an ATM machine, and ‘E-commerce: Why are some sites so unfriendly to customers?”

Thanks… drop by again soon, will you?

Linkfest Haven, the Blogger's Oasis


This is an Open Trackback post. During this weekend, you can submit your posts to this site. The Open Trackback article URL is this. The reciprocal ping URL is this. You can also use Linkfests. Enjoy and have a great weekend!

Who put that spoke in my server? Or how to bring a server to its knees!

The last few months since getting my own private hosting have been quite challenging in a number of ways as I have had to adapt my handling of my sites to a number of new contingencies: including weird spikes in server activity. It’s been quite a learning experience, but I’m pretty sure I don’t want to go back to regular shared hosting! I love having my own server on Dreamhost…

——-
For more articles on running a business, making money, cutting debt, or creating your blog, subscribe to the RSS feed or email newsletter. There’s a lot more in the Random Walk to Wealth on InvestorBlogger dot com. Subscribe TODAY!
——-

This graph is taken from December 5th and shows four significant spikes in server traffic in the previous 24 hours, with the spike around 00:00 being the largest and also bringing the server down!

4-10am-5th-09h december

Dreamhost helpdesk have VERY helpful to me over the years, and patiently answered almost every query fully and in detail. The last few times though have been frustrating because the amount of activity has been quite high on occasion (without obvious justification either!), and they were suggesting that perhaps I should raise the allocation of resources (and the cost!) to cover the spikes! Now, I’d already tried this once or twice: having raised my basis from $15.00 to $20.00 to $30.00. While this did indeed improve my server responsiveness, I was still getting server outages every day about once or twice a day, and it just didn’t seem that my server traffic justified that!

What is a poor server to do?

Go on a bug hunt! It’s that simple. I decided to find out what was going on, and see if I couldn’t eliminate all the other possibililties before increasing the expense further…!

Step 1. Find the Crap…

I was amazed how much crap had built up on my servers over the three years I’ve been using Dreamhost hosting… It was actually quite shocking. And it took me days to clear. But first I took stock of the files and data that were on my server: html files, jpegs, mp3s (not many), php, applications, data, backups, gzips, etc… Once I determined which domains and subdomains were only serving files, I could eliminate those pretty easily. Then I went on a hunt for old PHP applications, principally old versions of WordPress, Galleries, etc..

Step 2. Three Choices: Choose NOW!

On finding an application, I was faced with three choices: upgrade the software to the current version; remove the software entirely; or password the entire directory. In most cases, I chose the second option to cut down on the security risk. On one or two occasions, I passworded entire subdomains (with .htaccess and .htpasswd files) as well to provide access to these applications only to the person concerned. In the cases of my primary websites, upgrading became mandatory. In rare occasions, I moved applications to the root directory as a stop gap measure.

From now on, though, I’m going to be much stricter on removing old applications because of the potential security problems that can be hidden by forgotten software.

Step 3. Deleting unnecessary plugins and themes

Since most of my blogs run versions of WordPress 2.2+ and I usually auto-install or auto-update the files (courtesy of Dreamhost’s great service), the process is quite quick and painless. Dreamhost have gotten it down to a fine art, such that upgrading involves backing up the Database, Turning off the plugins (one click), click update, and wait for confirmation. But each and every time I update Dreamhost creates a backup of the original files named domain.old, and throws in EVERY theme they can get their hands on with each install). This leads to a lot of stuff each time. So I usually now delete 95% of the themes, and maintain a lean installation with as few plugins as possible (and none spare). This helps make WP as responsive as possible.

But as you can see I was still getting server spikes, and my options were running out. Everything was eliminated in one way or another, and the server was still coming down. So what next?

Step 4. Is it time to ‘log’ out?

I compared the performance of my main blog with several other blogs by checking the error.logs (I had never checked these before) just to see what was going on. Surprisingly, I found the logs quite detailed (they’re in your FTP folder called ‘logs’… click through to your domain to find the logs and then look for the error logs. They were dated a couple of days back so I had to check through and this is what I saw:

errorlogs

That’s right, line after line of the same error: this read “(12)Cannot allocate memory: couldn’t spawn child process: /dh/cgi-system/php5.cgi” and “(12)Cannot allocate memory: couldn’t create child process: …” To make sure that I wasn’t just reading regular errors, I queried it on Google and got nothing, then I checked the logs of WordPress Sites that I had just started with no themes or plugins. Sure enough, everything looked fine. Then I remember something a Dreamhost engineer had said:

Just the other day, I was dealing with a fellow who had a wordpress blog who was almost instantly crashing his PS with a single hit, because he had some wonky wordpress plugin which was spawning hundreds of php.cgi processes. Jeff

Well, thanks, Jeff. That has proved to be the best advice I’ve received yet… So I’ve been testing different plugins to find out which one or ones have been causing the problems. The best way to do this is to simply turn off all the plugins to restore the neutral state and then turn them on singly and checking the error log to eliminate those that don’t create the problem. I think I have a culprit already, but I’m now double checking them to make sure that I don’t blame the wrong plugin. Think ‘sticky’…

While the testing goes on, please excuse me for having unstable features on my blog as I try to eliminate the problem. But as you know, this problem has been going on for months; and this represents my best hope to get to the root of the problem.

Have you had these problems? What happened? I am not particularly an expert, but I was surprised at how much I could figure out by myself!

DashBoard Editor: Changing your Dashboard in WordPress

Sometimes as a blogger, I get tired of the traditional feel and look of the Administration Panel, and the slow loading of the WordPress feeds drives me nuts. I’ve already tinkered with the Administration page before on more than one occasion, but recently, I’ve been trying two plugins that are pretty neat: DashBoard Editor (this post) and MyDashBoard (Thursday).

DashBoard Editor
The first is Dashboard Editor, which is a simple panel that adds a dashboard configuration switch under the Dashboard editor. Currently, I can’t get the website to load but you can try again later.

dashboard-clean

It’s very simple to operate. And, most importantly, it works in a non-destructive way, so you can simply disable the plugin, and everything’s back to normal.

At the top you will see a text area that you can type in. This text will appear in the dashboard. Formatting is very similar to the bb-code style of posts and pages. If you used to blog in WP1.0+, you will already be familiar with the switches.

Below that area are a number of check boxes, all of which are self explanatory. They will allow you to remove the feeds, incoming links, news and so on. Of course, you can simply clean everything and start from nothing. One of the neatest features is that you can use Plugins, too. If you look at the last switch entitled “Use Sidebar Widgets”, this will create a separate column under your Presentation >>> Widgets menu. Simply create, add or move any widgets you want to show up on the Admin panel.

There are some limitations that you may wish to consider:
1. There’s no obvious way to have a widget in two places, though, ie. in your Admin Sidebar as well as the general sidebar(s). Also, the Admin sidebar is only available to those who login.

2. If your blog has many users who can register and login, you may wish to think carefully about the information you enter. For example, putting passwords for your email account in there may not be the wisest thing to do! Currently, there is no way to change the Admin area for different levels of users.

Overall, it’s easy to implement, easy to use, and easy to remove. We are looking forward to the developer adding features in the future!