Wednesday, October 29, 2014

Wordpress Blog Tutorial

WordPress Homepage Redirects to Latest Post

How to solve a problem where a self-hosted wordpress blog homepage/mainpage automatically Redirects to Latest Post or to one of old post or page.

This happens to my blog. And fortunate to find out an article written by Rahul Bansal on how to fix it. The main reason for this problem take place is because of a Wordpress plugin called Redirection Plugins. If you're not really in need to the plugin, just turn it off. The problem will go. But if you still needs it, follow the tutorial in the link above.

WordPress Caching Plugins

What are the Best top Wordpress Cache Plugins available?

Having plugins installed in a self-hosted Wordpress blog is a must to reduce server load and to maintain speed and stability. I use Super-Cache plugin for this blog.

There are, however, many wordpress caching plugins now available.

Kyle Robinson Young of Tutorial9.net has painstakingly made a comparison review among all Wordpress caching plugins available. From my understanding of Kyle's article, the top three are the best among the eight reviewed.

WP Super Cache
Hyper Cache
W3 Total Cache
WP-Cache
WP Widget Cache
DB Cache
DB Cache Reloaded
1 Blog Cacher

Meanwhile, Stephen Cronin compares three arguably most used Wordpress cache plugins: WP Supercache, W3 Total Cache and Hyper Cache. Interestingly, his blog is hosted in a Hostgator shared hosting like I do. And the winners are:

W3 Total Cache for the best optimisation on the server side (ie less time to server up pages, so that it can deal with more requests).
Hyper Cache for the fastest loading pages on the client side (ie pages load faster for the user)

W3 Total Cache not installed advanced-cachephp

How to fix the Page caching is not available: advanced-cache.php is not installe error message from W3 Total Cache wordpress plugins

There is an error message when I finish installing W3 Total Cache plugins. It says

Page caching is not available: advanced-cache.php is not installed. Either the /var/www/web-docs/wp-content directory is not write-able or you have another caching plugin installed. This error message will automatically disappear once the change is successfully made."

The solution:

Copy via cpanel or download it via FTP from wp-content/plugins/w3-total-cache/wp-content/advanced-cache.php
Upload it to wp-content/advanced-cache.php

via wp forum

Create Table in WordPress Posts

How to Create a Table in Wordpress Posts easily without HTML experience.

This tutorial works for self-hosted wordpress blog. For Wordpress.com user, you may use the first method only as plugins cannot be installed there.

There are two ways to create table easily in a Wordpress posts / articles.

I. Using Microsoft Word
Everbody knows how to write and create table in Microsoft Word .doc file.

Open Miscrosoft Word
Create Table and everything you want to put on it
Copy the table
Now, login to your Wordpress -> Posts -> Add New -> click Visual (NOT HTML)
Paste the table into Wordpress post editor. Done.

II. Using Wordpress Table Plugins

Wp-Table Reloaded Plugins
Download Wp-Table Reloaded Plugins -> Upload it -> Activate it
Or just search through your Wordpress Admin -> Plugins -> Search WP-Table Reloaded -> Install -> Activate.
Create and manage tables via "WP-Table Reloaded" in the "Tools" section.
Include a table by adding the shortcode [table id= /] to your post, page or text widget. See more.

Maximum Visitors Per Day in Hostgator Baby Shared Hosting

How many maximum visitors allowed per day in a shared hosting package for Hostgator, Bluehost and Hostmonster

I am using a Hostgator Baby shared hosting package for this blog. It always crosses my mind about how much maximum visitor Hostagor Baby can tolerate so that I can be prepared to upgrade to higher package when the time comes.

I search around the web for days on this matter, and I finally found LeVoltz post which is nice and enlightening.

He doesn't specify the maximum number of visitors per day for Hostgator Baby plan, but he used to experience 26 thousands pageviews (in less than 24 hours)is ok, that's when he has not not installed caching plugins. Fortunately, his blog survived from Hostgator's suspension! His CPU usage at the time lied in 11 – 19% range. Hostgator's maximum CPU usage is 25%.

So, let's say, your blog using Hostgator Baby package and Wordpress as your blogging platform with caching plugins properly intalled, It's save to say, that you do not need to upgrade to a higher level of Hostagor hosting package unless you have a constant pageviews of more than 25,000 a day. Below that level of visitors, Hostgator Baby package should make you sleep well without worrying of hosting suspension nightmare

Levolts also writes a good comparison between Hostgator, Bluehost and Hostmonster on various perspective including the maximum visitor they may tolerate.

To be more clear and simple, here's Levolt's review on maximum visitor allowed based on his experience. All are using a shared package hosting.
No Name of Company Maximum Visitor Action
1. Bluehost 2,500 pageviews/ a day Suspended
2 Hostmonster 3,500 pageviews / a day Suspended
3. Hostgator 26,000 pageviews / a day allowed

Share with us your experience, good and bad, with any paid web hosting services (not the free ones) to enlighten others.

Remove br Tag in Text Area WordPress Post

How to remove
line break tag automatically displayed inside a textarea code in a Wordpress post. This tips apply to self-hosted Wordpress blog only. This problem occur in Wordpress version 2.7 to 3.0

If you experience the same problem here is how to fix it

CONTENTS

Install remove unwanted HTML from textarea tags Plugins
How to Preserve Codes inside Textarea in Wordpress Post


I. Install Remove
tag from Textarea Plugins

Download this free plugin called WordPress plugin to remove unwanted HTML from textarea tags
Unzip it
Upload the php file to wp plugins directory using Filezilla FTP Client.
Activate it in Wordpress admin. Done.

Note: Easy plugins installation cannot be done here because the plugins is not in zip file.


II. How to Post Codes inside Text Area
Everytime you want to post/write a code and want it to appear as is in a Wordpress posts, post it in HTML mode.

After login -> Posts -> Add New
Click HTML -> write (do not click Visual)
Publish. Done. See screenshot below:how to create textarea in wordpress post without br


EmoticonEmoticon