Untitled

India! I dare you to be rich

Category Archive: Blogging

Blog hobbling back to life

The transfer of this blog to a new web host didn't go smoothly because of a mistake I made while pointing the DNS to the new host. I had three choices:

Do you want the www in your URL?

  1.  Leave it alone: Both http://www.sabhlokcity.com/ and http://sabhlokcity.com/ will work.
  2.  Add WWW: Make http://sabhlokcity.com/ redirect to http://www.sabhlokcity.com/
  3.  Remove WWW: Make http://www.sabhlokcity.com/ redirect to http://sabhlokcity.com/

I should have chosen the first but chose one of the other two (I think the second). That led to infinite redirects and troubleshooting was a challenge. Finally found an answer  here: http://wordpress.org/support/topic/error-310-neterr_too_many_redirects  which says:

I have changed the siteurl (option_id #2) and home (option_id #39) options (option_name column) in [wp-prefix]_options table from http://domain.com tohttp://www.domain.com — it solved the problem.
 
I applied this solution through phpmyadmin by hard coded from http://sabhlokcity.com/ to http://www.sabhlokcity.com in the wordpress database. and now it is temporarily working. Once the revised DNS option ("leave it alone", i.e the first one – to which I've changed to) kicks in, I'll remove this hard coding.
 
Now I'll test for three days. and if everything works, will move for the long term to this host (dreamhost). 
 
I'd like to thank Anubhava Srivastava for transfering the blog and database. Even though WordPress is very complex – and I've got over 2000 posts – it CAN be moved from one place to anther.
Continue Reading

Technical (and financial?) support sought to manage this blog’s “resource limit” and memory problems

This blog has long presented many technical problems:

1) Hacking. At one time, massive hacking was a regular feature on the blog. So after a lot of work I put in a number of defensive plugins and that seems to have reduced.

2) Resource issues: Then there has been the chronic "resource" issue. "Resource Limit Is Reached.The website is temporarily unable to service your request as it exceeded resource limit. Please try again later." This seems to be related to the "entry processes" issue and to limitations of CPU/memory.

3) Memory: Then there is the memory issue with weird messages about memory problems.

4) Spam: Then the spam issue, with Akismet failing to work on many occasions, flooding the system with spam.

E.g. a snapshot from cpanel today:

To fix these problems, I migrated some domains to Godaddy, but that didn't work. Same problems experienced plus also Godaddy doesn't give shell access. So now I've wasted a decent amount of money on Godaddy without any results.

I wrote yesterday to a web doctor and got this advice:

Seems you already have the tool to review performance issue with Plugin Performance Profiler
http://screencast.com/t/ET4RuQRL3d

My advise 
- disable plugins that affect performance, find alternative plugins. 
- If you develop the site securely, you don't need all those security / firewall plugins
- use Good VPS, my recommendation is wiredtree.com

This is very similar to other advice I've received in the past – such as to disable/ remove all plugins one is not using, optimize the database tables, use supercache, etc. 

The problem, however, is that EVEN IF I disable ALL plugins, the resource problem continues.

I think WordPress has beaten me. I've learnt everything an amateur could learn about WordPress, can't do more unless I want be be a professional WordPress guru.

The idea of VPS doesn't appeal to me since (a) it is really expensive and (b) there is no guarantee that it will fix any underlying systemic problem. 

I would really appreciate someone who can take this whole thing off my hands – the backend, the security, the resources, etc. If such a person can step forward, I'd be able to focus on the WORK for India I'm trying to get done. 

Managing may well cost some money, and I can chip in a little bit, but just can't afford the $2000+ per year asked by some providers.

The first step would be to identify the cause of the existing problems and make it work sturdily for about three months. Then onie can think of migrating to some other server – if absolutely needed.

This is a big ask, so I'm going to make this post sticky for a while and hopefully someone will find this and step in to help.

Continue Reading
Continue Reading

Google has paid me $139 after 2 1/2 years. A report on advertising on this blog.

About a year and half ago I wrote about advertising on this blog. In the main my experience with adsense has been sporadic and inconsistent. I've put ads, then taken them off – because I didn't believe that these things earn any "real" money.

In around 2 1/2 years adsense has earned me a "grand" total of AU$139.71, or 4.50 per month. Google did pay up in the end: I actually received this money on 22 October 2013. I'm not sure what's the tax treatment of this income under Australian law. I suppose I must pay the usual income tax since I'm not a business and can't "offset" this with my expenses (which are higher).

Intensification of ads

I recently spent some time reading the instructions that google provides re: adsense, and have intensified my advertising system.  As a result you'll note a lot of ads on my blog now.

I've now reviewed the results of this change over the past 15 days or so. I'm pleasantly surprised to note that ad revenues have increased significantly. Leaving aside some one-off blog posts which are receiving very high interest, ad earnings per month from this blog (and related websites) should perhaps average around $15 per month in the future. That would mean I am able to break even (in the future) on this operation including the 10-15 domains I own (which cost around $10-15 each, per year). Anything beyond $15 per month per month would allow me to:

a) upgrade to a better server; and

b) pay someone to fix the innumerable coding problems on my websites which make them extremely slow and inefficient.

Key lesson: I must write material that interests USA. Indian advertisers don't pay well.

From adsense statistics of this blog I found that advertisers pay far more for clicks by US visitors than clicks by Indian visitors. Each time someone from US clicks an ad, I get appx $0.37, compared to $0.08 from someone from India. I will therefore need to write more on the American system/economy, or otherwise "cater" to the American audience, in order to bump up ad revenues.

Continue Reading

Comments temporarily closed – facing Akismet spam filter failure

Something has gone wrong with my Akismet spam blocking system. I have 2500+ spam comments that have got through over the past day or two.

I will delete ALL comments received in these two days since I have no time to sort out spam from non-spam. I apologise for any inconvenience caused.

Also, I'll block comment posting for posts older than 1 day till I can figure out how to make Akismet work again. This will curtail spam till I can fix the issue.

For those who want to see hat's going on, the image below shows the problem [click for larger image]. If anyone knows a solution, please write to me at sabhlok@gmail.com.

UPDATE

Akismet started working on its own after 2 days and I've opened the comments.

Continue Reading

Technical assistance needed on render-blocking JavaScript, CSS delivery, etc.

I am experiencing numerous technical problems with my website, and have simply no time to understand these issues.

Would appreciate if any reader can identify simple solutions, e.g. removal of some plugins…. If you can't spare time to advise, would appreciate if you can link me to any commercial service provdier who can fix these things for a small charge.

===

Your page has 4 blocking script resources and 6 blocking CSS resources. This causes a delay in rendering your page.

    None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
    Remove render-blocking JavaScript:
        http://sabhlokcity.com/wp-includes/js/jquery/jquery.js?ver=1.10.2
        http://sabhlokcity.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1
        http://sabhlokcity.com/wp-content/plugins/flv-embed/swfobject.js
        http://cdn.topsy.com/topsy.js?init=topsyWidgetCreator
    Optimize CSS Delivery of the following:
        http://sabhlokcity.com/wp-content/plugins/digg-digg/css/diggdigg-style.css?ver=5.3.6
        http://sabhlokcity.com/wp-content/plugins/social-media-widget/social_widget.css?ver=3.7.1
        http://sabhlokcity.com/wp-content/plugins/jetpack/modules/widgets/widgets.css?ver=20121003
        http://sabhlokcity.com/wp-content/plugins/jetpack/modules/minileven/theme/pub/minileven/style.css?ver=3.7.1
        http://sabhlokcity.com/wp-content/plugins/jetpack/modules/sharedaddy/sharing.css?ver=2.5
        http://sabhlokcity.com/wp-content/plugins/wp-mashsocial-wigdet/cssstyles.css

Compressing resources with gzip or deflate can reduce the number of bytes sent over the network.

    Enable compression for the following resources to reduce their transfer size by 206.3KiB (71% reduction).
        Compressing http://sabhlokcity.com/ could save 69KiB (73% reduction).
        Compressing http://sabhlokcity.com/wp-includes/js/jquery/jquery.js?ver=1.10.2 could save 58.9KiB (64% reduction).
        Compressing http://sabhlokcity.com/wp-content/plugins/jetpack/modules/sharedaddy/sharing.js?ver=20121205 could save 28.7KiB (75% reduction).
        Compressing http://sabhlokcity.com/wp-content/plugins/jetpack/modules/minileven/theme/pub/minileven/style.css?ver=3.7.1 could save 23KiB (76% reduction).
        Compressing http://sabhlokcity.com/wp-content/plugins/jetpack/modules/sharedaddy/sharing.css?ver=2.5 could save 8.9KiB (80% reduction).
        Compressing http://sabhlokcity.com/wp-content/plugins/flv-embed/swfobject.js could save 4.5KiB (67% reduction).
        Compressing http://sabhlokcity.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1 could save 4KiB (57% reduction).
        Compressing http://sabhlokcity.com/wp-content/plugins/digg-digg/css/diggdigg-style.css?ver=5.3.6 could save 3.9KiB (75% reduction).
        Compressing http://sabhlokcity.com/wp-content/plugins/wp-mashsocial-wigdet/cssstyles.css could save 3.9KiB (74% reduction).
        Compressing http://sabhlokcity.com/wp-content/plugins/social-media-widget/social_widget.css?ver=3.7.1 could save 1.5KiB (75% reduction).

Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.

    Leverage browser caching for the following cacheable resources:
        http://discovery.sabhlokcity.com/bfn-small.jpg (expiration not specified)
        http://freedomteam.in/blog/wp-content/uploads/2012/10/ftilogo-new-300×183.jpg (expiration not specified)
        http://prem.sabhlokcity.com/vedic-metaphysics.jpg (expiration not specified)
        http://sabhlokcity.com/wp-content/plugins/flv-embed/swfobject.js (expiration not specified)
        http://sabhlokcity.com/wp-content/plugins/jetpack/modules/minileven/theme/pub/minileven/inc/fonts/genericons-regular-webfont.woff (expiration not specified)
        http://sabhlokcity.com/wp-content/plugins/jetpack/modules/sharedaddy/images/facebook@2x.png (expiration not specified)
        http://sabhlokcity.com/wp-content/plugins/jetpack/modules/sharedaddy/images/loading.gif (expiration not specified)
        http://sabhlokcity.com/wp-content/plugins/jetpack/modules/sharedaddy/images/print@2x.png (expiration not specified)
        http://sabhlokcity.com/wp-content/plugins/jetpack/modules/sharedaddy/images/stumbleupon@2x.png (expiration not specified)
        http://sabhlokcity.com/wp-content/plugins/wp-mashsocial-wigdet/cssstyles.css (expiration not specified)
        http://sabhlokcity.com/wp-content/plugins/wp-mashsocial-wigdet/images/gplus-16×16.png (expiration not specified)
        http://sabhlokcity.com/wp-content/plugins/wp-mashsocial-wigdet/images/rss-16×16.png (expiration not specified)
        http://sabhlokcity.com/wp-content/uploads/download-red.gif (expiration not specified)
        http://world2.0.sabhlokcity.com/wp-content/uploads/2010/09/WORLD-207×300.jpg (expiration not specified)
        http://media.admob.com/formats/templates.js (60 minutes)
        https://s2.googleusercontent.com/s2/favicons?domain_url=http://www.abacusstocktaking.com.au (8 hours)

Your page requires additional network round trips to render the above-the-fold content. For best performance, reduce the amount of HTML needed to render above-the-fold content.

    21.4KiB of the response was required to render the above-the-fold content. Prioritize visible content that is needed for rendering above-the-fold.

    In our test, your server responded in 0.42 seconds. There are many factors that can slow down your server response time. Please read our recommendations to learn how you can monitor and measure where your server is spending the most time.

Continue Reading