Make more profits from wordpress and adsense

by @ 5:39 pm on January 22, 2008.  Filed under On Blogging, WordPress

By default, when you install a wordpress blog and start blogging, your home page displays all of your recent posts. However, with Adsense, you can only display 3 ads per page. Most Wordpress users put an ad at the end of each article. If you do this on your home page, you can only display three articles so the theory is why display all of them on one page?

This hack is part one of two.

The initial fix is easy. Open your Wordpress Theme Editor (wp-admin -> Presentation -> Theme Editor ) and click on the right side menu item titled “Main Theme Template”

The line you need to fix looks like this:

<?php if (have_posts()) { while (have_posts()) { the_post(); ?>

If we change this line to the following:

<?php $x=0; if (have_posts()) { while ($x++<3 && have_posts()) { the_post(); ?>

Then your main page will only display the latest three entries. Your users can still browse your other articles by clicking categories and archive links.

Part two of this hack will provide you with a nifty little Post Pager that will list links to all of your other recent posts at the end of the main page.

Search engine paradox - Are we back in the 90’s?

by @ 7:31 am on January 15, 2008.  Filed under On Blogging, SEO Tips, Webpit.com News

The year was 1997. I was contracted by Tabnet, Inc. to write a piece of software that would automatically submit sites to thousands of “link farms” and search engines. The software worked so well, or I so impressed the CEO that I was offered a job. We used the software to sell a service to our web hosting customers. A year or so passed by and search engines began changing their algorithms. Link farms were no longer a viable means of getting your site noticed. Then the king was born. Google enters the arena with its plain-faced home page. It was all the rave back then. Oh, how I can remember the days. The days of yesteryear, when cloaked pages worked. When Search Engine Optimization was a sure thing.

They say that the more things change, the more they stay the same. Here it is, 2008, and if Google is King, then “Social Bookmarking” sites like Digg, Deli.cio.us, etc are most certainly his most trusted advisors. Last year, I didn’t put much stock into these sites. I didn’t understand them, and didn’t care to. I wasn’t blogging at the time and I only really knew of Digg because our web designer insisted on having a button that linked our pages to Digg.com. Since then, and especially since starting this blog, I have come to realize, things really haven’t changed. The names have changed. Instead of Link Farm, we call it “Social Bookmarking.” The method’s haven’t changed either.

In all its prowess as a search engine, Google trusts human submitted content more than its own algorithms. Case in point: Just a few short years ago, you would have had to be superman to get your site on the first page of search results for your desired keywords. Now today, its really not that hard. Is it too easy? I mean, if I can do it, certainly those silk suite wearing SEO gurus with the Porsche’s paid for by SEO-hungry companies should have no difficulty achieving the same thing right?

Rumor has it that Google despises Search Engine Optimization. Maybe they call it cheating, who knows. But to be honest, those who call themselves SEOs have their own greed to blame. In the never ending quest to be first on the list, companies resort to hiring SEOs to implement sketchy tactics and fooling both the search engine and the internet user at large into clicking links to what seemed like legitimate content, only to be led down an unrelated path.

I’m still unclear as to why Google trusts Social Bookmarking (cough, linkfarms, cough) now when just a couple of years ago, heck maybe not even that long ago, they openly stated they would avoid them. Volumes of blog articles attest to the suspicion that listing your site in link farms was the equivalent of search engine suicide. So it seems we have gone full circle and it took only about 10 years to do it. So what’s next, we start cloaking pages again? Are we just in a cyclic paradox that we are incapable of escaping? Is this really Web 2.0? What would Jean Luc Picard do?

web·pit n. a place of discovery; a repository of information; where coders come for enlightenment; a programmers diary.

internal links:

categories:

search:

archives:

August 2008
M T W T F S S
« Mar    
 123
45678910
11121314151617
18192021222324
25262728293031

other:

Great Places

  • websiterepairguys.com
    Millions of websites need fixing. Here's the man for the job!
  • mydnsmanager.com
    Free DNS hosting, domain parking and domain name research tools
  • phpfreaks.com
    Excellent resource for all things PHP
  • boonex.com
    Boonex makes great, FREE, social networking software called Dolphin Smart Community Builder

About Me

My name is Mark Williamson and I am somewhat of a PHP freelancer and all around hacker. I have many years of experience in software development, covering a wide variety of languages, databases, and functional areas. From website content management systems, medical billing, website load testing, billing automation, and sales automation, I can pretty much say I've seen a few million lines of code. I am usually available for after-hours contract work (I have a full time day job). If you need assistance implementing ideas for your website, contact me and I'll give you an honest opinion on what it would take. You can see my other website at WebsiteRepairGuys .com (link at the top of this column).
All content Copyright (c) 2008, Mark Williamson