Wordpress Plugins

Hana Code Insert Example 1: List of sub pages or sub categories

Posted in Wordpress, Wordpress Plugins on October 4th, 2009 by HanaDaddy – Be the first to comment

Hello, this is HanaDaddy and I would like to show you how to quickly add some quick sub categories or sub pages within a page or a post. For all of you that do not know what Hana Code Insert Plugin is, it’s a simple plugin that enables you to add piece of codes (HTML, Javascript, or even PHP) in the middle of post or page. You can use it to add AdSense, Paypal donation button, HTLM forms, Analytics, or anything.

First, you need to install Hana Code Insert Plugin.

Once you installed and activated the plugin, visit the Settings => Hana Code Insert option page. Activate the ‘Enable PHP Execution ‘ check box. You need to enable this checkbox to use PHP. Then create an entry by inserting below code This is to show sub page of the current post.

You should not define <?php or ?> and need to enable ‘Evaluate as php code’ when you create the code entry. Please refer to below image for more info.

image
read more »

Redirection 301 and 302 and Google

Posted in SEO, Wordpress, Wordpress Plugins on September 23rd, 2009 by HanaDaddy – Be the first to comment

301 and 302 http reply codes indicating redirections are very much different in terms of Google SEO. And did you know Wordpress is always using 302 by default?

Let’s see what the difference is first.

301 :  Moved Permanently. 301 tells you that the current website requested by current URI is moved to a new brand new URI, so you should drop the originally used URI. If you are moving a website to a different domain, this is the way should be done.

302 : Moved Temporarily. 302 tells you that the current redirection is temporary  and you should use the original request URI next time you visit again. If you are temporarily redirecting to a page (site update or special product promotion…), this is it.

Now let’s see How Google sees these redirection codes. If 301 is used, Google will move original request URI’s PageRank to the new destination URI. And eventually remove the request URI. If 302 is used PageRank will be intact to the original website and the original website will also benefit from the destination website’s content.

Many shared webhosting accounts set up both www (ex. http://www.example.com )and top level domain (http://example.com) to point to the same webpage by default. If you use them both website URLs thinking they are the same address, you are mistaken. In fact, you will eventually split the PageRank and pages might be considered as duplicated content.
read more »