Computer And Internet, Personal, Tips & Trick

Good day! I wishing everyone happy in this Christmas and Holiday season 😀

merry-christmas

In this short articles I want to write my personal experiment review for WP super cache. Here is the story, In the past 6-9 months ago I’m using wp super cache just because my hosting recommended it. I run some websites on budget host and most host technician complaint about resources. Nothing special until I notice my revenue is not so great even my traffic great enough.

Two weeks ago I bought a new server just because my websites not fit anymore on budget host. I do setting and everything run properly until I notice something annoying. My traffic is greater but my revenue is to low. Why this is happen? I do some research and analyze the problem, Re-Setting server configuration to the maximum resources but there is no difference.

At the first time I was thinking: Maybe (just maybe) my traffic not coming from premium country so it may not so great in conversion and affect my revenue. But it was wrong! not completely wrong actually! I do deep analyze and found my UV and Impressions not counting correctly. After long investigation I found the problem is on cache. I believe many of you already know what is wp super cache, but for you don’t know what is it: wp super cache generate HTML files and serving those HTML to all visitors: real human traffic including search engine bot traffic.

Read More »

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Computer And Internet, Personal, Short Reviews, Tips & Trick

Having WordPress site which received massive traffic hits could make a trouble, I said again… a BIG TROUBLE. This happen to me many times. Hosting provider seems don’t like when their client use wordpress but they continue promoting their hosting support for wordpress. In this short articles I will write short review about wp super cache and some configuration you may need to set it up.

Each hosting provider have they own rules. Especially for people stay in shared hosting. Example you may not pass blablabla percent server load, blablabla, and another d*mn blablabla… I read in a secret forums, technical claims if 500 static (html) site may perform better than 1 dynamic site with bad coding on it. That’s the problem why they don’t tell us from the first time…

Using wp super cache we can make our wordpress dynamic site become static. Actually it not 100 percent become static, We still can set anything needed to make it semi dynamic. If VPS/COLO/DEDICATED is not possible option for you at the moment keep reading this article.

Because of limitation we need to setup semi dynamic site. What is benefit we got from this changes?

  1. Your pages load faster! Search engine today using this factor to give score for your SERP.
  2. Your server load do the opposite from high load. Because all cached files are in HTML format and server no need to run PHP for all the time when there is hit to that pages. Your hosting provider will smile… (Yeah because they can got more client to put on that shared server, more money mean LOL)
  3. Your visitors/readers will be happy because they can find what they need faster (oh yeaaaaaaH)
  4. You can sleep and dreaming about world domination… LOL

Enough for that LOL thing, now let’s talk about setup and configuration for wp super cache.

Read More »

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Personal, Tips & Trick

Three days ago arvixe telling my site using to much their cpu usage. They complaint about wp-cron.php and index.php process which I believe it was looping and won’t stop in background. wp-cron is just like cron job in normal condition. The crazy thing everyone doesn’t know is, it’s loading each time visitors coming to their site. I don’t know why wordpress don’t fix it or at least give options to run it each time frame.

For a site using wordpress and have a lot articles/pages the optimization for it is just disable wp-cron, another option is disable wp-cron and running cron job from cpanel which can be setup in time frame.

You will lose schedulle post feature but it’s better than get suspended right? You still can run cron in time frame you setup from cron job panel than using crazy method like spawn it each time visitors coming to your site. Let’s do this thing, it’s very easy…

[to_plus]

  1. Open your wp-config.php and put this after the <?php. define(‘DISABLE_WP_CRON’, true);
  2. Open wp-includes folder and find a file with name cron.php
  3. Find string “function wp_cron() {
  4. Replace all function with code below :
    function wp_cron()
    {// Prevent infinite loops caused by lack of wp-cron.php
    if ( strpos($_SERVER[‘REQUEST_URI’], ‘/wp-cron.php’) !== false || ( defined(‘DISABLE_WP_CRON’) && DISABLE_WP_CRON ) )
    return;if ( false === $crons = _get_cron_array() )
    return;$local_time = time();
    $keys = array_keys( $crons );
    if ( isset($keys[0]) && $keys[0] > $local_time )
    return;$schedules = wp_get_schedules();
    foreach ( $crons as $timestamp => $cronhooks ) {
    if ( $timestamp > $local_time ) break;
    foreach ( (array) $cronhooks as $hook => $args ) {
    if ( isset($schedules[$hook][‘callback’]) && !call_user_func( $schedules[$hook][‘callback’] ) )
    continue;
    // spawn_cron( $local_time );
    break 2;
    }
    }
    }
  5. Save it/replace cron.php file with the new edited cron.php
  6. Done

After doing this your wp-cron has been disabled and never ever run each time a visitors coming to your site. But you will lose schedulle post, to fix this problem open your hosting control panel and set cron job from there to run your wp-cron.php. You can set it run each 24 hours or in time frame you need.

After doing this small optimization arvixe not complaint to me. It’s mean this is maybe the big issue for worpdress to update their cron setting.

That’s a share for today, have a great day everyone, and Happy New Year! 😀

[/to_plus]

 

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Computer And Internet, Personal, Tips & Trick

If you are using wordpress or other cms and have a lot of data in you sql, your site usually will unavailable with common message database error. What actually error on your database? Nothing, this is all about query limitation on your hosting. Your blog will grown in time, say in the last months you got 10,000 readers and in the next month you got 1,000,000 readers. When people access your site it’s continuously reading data again from your database, when it to much some hosting will stop it to executed. This is not good for SEO because your potential readers will gone (robots also can’t indexing full your site). Usually bad hosting will ask you to upgrade into vps or dedicated server. Everyone know it, there is no free lunch, you will have to pay more and more, if you got good revenue maybe it’s fine but how if not?

In this short articles I will give some tips and trick to fix common wordpress database problem. When you’re planning to get a lot of visitors to your site you better looking for a ways to optimize your sql query. There is one options for this, using DB cache so when people coming to your site request the articles server don’t need to re-query database again. You just need to sacrifice some memory and space which may be better in result if you’re not planning to go for vps or dedicated at the moment.

[to_plus]

How to do this? Search on google is good idea, I found many articles for database caching last night, this is the best one. For wordpress users there is a simple solution. Just get and install DB-CACHE-RELOADED plugin, setting it as you need, example you want cache stays for 24 hours or maybe just 10 minutes.

In this sample I set 180 minutes (3 hours). Cache will stay for 3 hours and then when it expired all cache files will deleted from cache folder and generated new cache. The result after using this plugin is better than not using it. When I tested it I have never seen wordpress database error again (of course because when someone read articles again server doesn’t need to re-read again from the sql). If you like this plugin you can spare some money for Ivan for his great works 😀

The effect?? I’m not sure but in the past when I’m using similar plugin like this I have error on feed, when this happen disable the plugin clear all the cache files and reactivate plugin again. But if not then you don’t need to do anything just keep monitors your site availability and traffic. Before I close this articles I want to tell you, you can also combine this plugin with auto cron job to repair and optimize your mysql, just search on my blog you will find the articles. This combination will giving a better result.

That’s share for today, I need back to work on project he he, Have a great day everyone 🙂

[/to_plus]

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS
Miscellaneous, Personal, Tips & Trick

Actually I have been searching the way for doing this trick long time ago. How to show ads inside wordpress post (like a picture) but no lucky on the result. Usually information I got is only showing ads inside the article but with standard size 480×60 or just a simple plugin to show ads in the first,middle or the end article. I want a beauty position, this position will be a good spot for ads inside wordpress article.

I fell really stupid when I found the tricks is really simple *lol* Tested it on my technology reviews blog… 😀

The result will be like this sample:

When I tested it with another modern browser, firefox and opera the result is same beauty:

How to doing this tricks? Just follow this 5 simple steps 🙂

1. Login into your wordpress admin panel.

2. Click on Appearance, then click editor.

3. Click on your single.php files (it’s actually single post for wordpress).

4. Find the text “php the_content(‘Read the rest of this entry &raquo;’);” before this text add this code:

<div style=”float:left; padding-right:10px;”>
Your Ads Code Here
</div>

5. It’s done! You can customize it to make it looking good.

Hahaha this is my shortest article, enjoy it people! have a nice day 😀

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS