Showing posts with label Wordpress. Show all posts
Showing posts with label Wordpress. Show all posts

Sunday, 25 January 2009

If You Are Going To Use a Static Homepage, Hand Code It in WordPress

As most of you probably already know, WordPress is expanding far beyond a blogging platform, towards a complete Content Management System (CMS). In simple words, this means that the WordPress open source software can be used to build virtually any type of website, including blogs, company sites and online stores.

One of the features that WordPress introduced to walk in that direction was the ability to be able to use a static front page. You just need to click on “Settings” and then “Reading,” and select which of your pages should be displayed as the static homepage.

static page wordpress

It is a nice feature, but on all my sites where I use a static homepage and WordPress as the CMS I preferred to not use it, and rather to hand code the homepage content directly on the index.php file. Why? Because if you choose to use a specific page as the static front one, you will have a duplicate version of your homepage on another URL.

For example, suppose you put WordPress on your new website that will function as your product store. You then create a page called “Main product page.” WordPress will create the page, and give it a URL like www.yourdomain.com/main-product-page/. If you then select that page to be used as the static front page, that same content will be accessible on the homepage and on the single page URL.

The homepage is the main place that search engine bots will crawl on your website, and if they find an exact copy of that on a secondary URL I suspect it could cause some problems due to duplicate content. It shouldn’t be a big problem, but when it comes to search engine optimization, every small bit helps.

An alternative would be to no-index the single page URL, but I still prefer to hand code the front page on the index.php file.

Did anyway else play with static pages and their optimization before?

Is WordPress the Top Blogging Platform?

I think for quite awhile now the self-hosted version of WordPress has been considered by most to be the dominant blogging platform, but up until recently it was purely speculation.

Last Friday, Royal Pingdom did some research and published the top blogging platforms based upon the Technorati Top 100 list. As you’d expect, WordPress took first place with 27 of the Top 100 blogs (5 more were hosted on WordPress.com). Of the self-hosted blogs, Movable Type is in second place with 12 blogs.

For your reference, here are the 27 WordPress blogs (links are included on the original post):

  • Perez Hilton
  • Problogger
  • Chris Brogan
  • Zen Habits
  • Copyblogger
  • Think Progress
  • VentureBeat
  • SlashFilm
  • Global Voices Online
  • The Caucus Blog - NYTimes
  • Bits Blog - NYTimes
  • Freakonomics - NYTimes
  • Pajamas Media
  • Just Jared
  • Smitten Kitchen
  • Hot Air
  • Neatorama
  • TechCrunch
  • Smashing Magazine
  • Washington Wire - WSJ
  • Michelle Malkin
  • Daily Blog Tips
  • Yanko Design
  • Mashable
  • Roy Tanck’s weblog
  • CrunchGear
  • Delicious:days

It is nice to see the Wall Street Journal (WSJ) and New York Times (NY Times) both listed here. It would be interesting if this study is done every year to see trends. I would imagine WordPress will be over 50% of the Technorati Top 100 list within a few years as some of those blogs switch away from Typepad, move their WordPress.com blog to self-hosted, etc.