Showing posts with label webmastery. Show all posts
Showing posts with label webmastery. Show all posts

Sunday, April 19, 2009

Wordpress Optimization: speed up or get out of the way


(While this is another one of these technical posts, I'm posting my notes as I run into getting a web business operating online - so you can learn from my efforts and mistakes.)

Ran into this when running Wordpress MU on a site (setting up subdomain mini-sites) and finding all about bandwidth - by running out in the first week of a new month. And then again, the second week. Got it bumped up twice, but it took me off my regular game of posting content over into figuring out how to optimize a site for fast loading. (And this was with just two mini-sites running...)

Luckily, the Internet is full of answers. Lots of surfing with different sites (sorry I can't link to you all) gave me a few simple rules:
  • Smaller is faster.
  • Don't call up more than you want to chew.
  • No pix, no slows.
Smaller is faster.
Essentially, the static html page, text only, is the fastest loading page. The less content, the faster it loads. Kinda like security - if nothing gets through, then nothing can get leaked.

Obviously, since we like nice graphics and nice-looking text, and like to talk to each other - the above statements aren't workable.

Next up from that - CSS-styled pages which look nice but don't take a lot of time to load - meaning the server doesn't have to work at bringing these up. Means you want to compress all the line-breaks and white space out of these CSS pages so that they are more machine-friendly (and nearly impossible to read or edit.)

Don't call up more than you can chew.
Finish off your CSS loading before you call any Javascript - and keep those calls to a minimum. Again, ideally your CSS would be a single document, but the reality is that you have different style sheets for different aspects of the site - human editing benefits, mostly (although some would argue with me on that).

Javascript should load last so the page is there to be read, even if other stuff is coming in the background.

Enter database calls. Same deal. The more you call to your database, the slower the page is to load, and also you are going to use up more bandwidth. So your database has to be optimized internally so that it finds the data quickly and efficiently. Extra tables and entries are removed, which keep the files small and quickly accessed.

No pix, no slows.
Minimalist designs tend to be faster, because a single graphic can be bigger than the entire text on the rest of the page. The more graphics and icons you have on a page, the slower it's going to load.

Your graphics - if you have to have them - should be compressed as much as possible without degrading their quality. (And a two-color GIF still rules.) However, you can do a lot with colors in CSS, so don't think you're limited to a monochrome scene to get a fast-loading page.

While people like pictures on their sites - think these over carefully before you drop a bunch of stuff in there to make it look "pretty".

- - - -
Links:
http://wordpressgarage.com/tips/38-ways-to-optimize-and-speed-up-your-wordpress-blog/
http://plugins.trac.wordpress.org/wiki/css-compress
http://www.boydcreative.net/blogging/10-ways-to-optimize-wordpress-for-more-traffic/
http://www.johntp.com/2007/10/24/5-ways-to-increase-the-loading-speed-of-a-wordpress-blog/

- - - -
Tricks and Recommendations:
  1. Host your images on another site or a subdomain - this way they load in parallel to your text body.
  2. Host your feeds on Feedburner - doesn't speed up your page loads, but does preserve your bandwidth.
  3. Don't use an ecommerce plug-in on your WordPress install - host these externally as well. Scripts like ZenCart are amazingly fast as they are designed to specifically deal with ecommerce. WordPress is designed around blogging and ease of use. Make your external ecommerce script do that heavy lifting. (The ecommerce plug-in I used to use had all sorts of javascript calls - when I finally got under the hood to look at it. Now I'm looking at a simple PayPal button to do everything I want - but the jury is still out on that...)
  4. Always, always refine by function - actual use - rather than bells and whistles. Practically, leave entertainment on entertainment sites and then link or embed them. Let them pay the bandwidth and give you a sitelink as well.
  5. Skip ads, unless they are text links. a) People continue to look at fewer and fewer ads. b) Most are graphic heavy or javascript "endowed". c) Content pre-sells best - then link to the page which will give you PPC or affiliate commissions. (Adsense is still notoriously poor-paying.)
Bottom line:
Serve optimized text only from your server, then call to other hosts for the extras. Sounds austere - but if you keep these in mind with your designs, you won't have the big problems later when you have to find out how to make your site's bandwidth footprint much smaller out of necessity. (And I've already had a domain kicked off one host for violating their *ahem* terms of aggrement - you get what you pay for.)

Good Luck - and Good Surfing!

Tuesday, July 22, 2008

Wasting your time with extreme SEO

Don't waste your time with PageRank when you should be improving user experience.

8 Arguments Against Sculpting PageRank™ with Nofollow | AudetteMedia

This little page has a great deal to say about "no-follow" as an SEO strategy - both plus and minus.

I'm going to reverse myself where I told you to get Dr. Andy's Website Builder. Or any other. If you're like me and work just at getting stuff online at all, then you don't have time to spend on building these SEO-optimized pages. True, you should build mini-webs, particularly if you can afford to invest in separate domain names for them. But worrying about linking them with no-follow is a no starter. Worry about how the user can find and make sense out of them first.

Main scene: Google is devaluating PageRank and has been for years. Things change. Except for one point this article points out - the key point is user experience and always has been. That's why the search engines are putting social media on the front pages: better content.

So don't worry about Michael Campbell's various diagrams to build mini-webs and so on. Concentrate on building websites with great content. (Now, you can build mini-webs that are subdomain-based and link only within themselves, particularly where you are selling an affiliate link or a particular product. That makes sense. One link on the main page which lets them out - but only to your ecommerce page or to a sales link. But again, we're getting pretty geeky here. Concentrate on great content, user experience and you'll win.)

How you build a top-notch, profitable web site:
  1. Make a great landing page that is exciting and tells someone everything they need to know above the fold (first screen-full). Elevator pitch sells them on checking out the rest of the site. Has an opt-in for mail list, plus RSS feed.
  2. Use templates to simplify your Navigation and page building.
  3. Build with WordPress or similar blog function, where you don't have to worry too much about updating navigation links or search (even Dr. Andy is using this right now, as it simplifies adding pages immensely.)
  4. Concentrate, concentrate, concentrate on improving user experience for your site.
  5. Monetize everything - make everything contribute and everything count.
  6. Add pages daily, if possible.

Friday, April 25, 2008

Laws of Keyword Usage - all keywords are not created equal

This error below made me realize I hadn't compiled the rules/laws/principles of proper and effective keyword usage for SEO:

1. One main keyword (phrase) per page. Now, sufficiently long, you'll get other combinations of keywords which link to this page, but you are going for one particular long-tail niche (forget one-word keywords, these have been sewn up long ago and are maintained by huge sites with massive link-love coming their way.

Reason? Your page is known (reputation) by its in-bound links. Whatever they say is on the page is really more important that what is on that page - but you want all inbound links to say the same keyword as you optimize the page for. If you work on getting prime search engine real estate (top 5 positions - above the fold), then figure for a keyword "scatterbrained nitwit", all or most of your inbound links should have the words "scatterbrained nitwit" in their text link. While you can get "scatterbrainednitwit.com" to help out, it's not essential. (But note: having "scatterbrained-nitwit.com" can get you penalized, as spammers wasted that approach years ago.)

Two or more keyword phrases will confuse search engines and give you lower rankings. Your pages should be like you talk - one subject at a time. Don't talk or write in non-sequiturs. If you do have to bring up another topic, it's perfectly OK to link to a separate page on this new topic. Gives you another keyword phrase you can "dominate".

2. Use your meta-tags for theme words, not keywords. Most of the biggest search engines don't rely on meta-tags (thank spammers for that one, too...), but Google uses them to check the "theme" of the page, ie. does your content match what you are talking about?

If you put your keyword phrases in your meta-tags, unscrupulous spammers will scan these to find what you are talking about or trying to get search engine real-estate with and work to beat you to the punch. Just what you need - more competition.

The old tools which harvest meta tag information are good now for finding theme words - what that page should be talking about. The reason Google looks for theme words is also to help them figure where to list your page. Most words have several distinct meanings. Searching for "Apple" the computer company shouldn't give you results on "apple" the fruit. Help them out - use meta tags for repeating theme words on your page.

3. General current use of Keywords:
a. Page title
b. H1 heading
c. Once in opening paragraph - which should be emphasized with bold (or possibly italic - but only in san-serif fonts, so it remains legible).
d. Generally, no where else on the page, or at max - no greater than 5% of that text copy - again, thank the spammers for this rule.
e. The rest of the page is composed of theme words and articles (an, a, the, those, that, etc.) and somewhat meaningless words which hold the sentence together (conjunctions and stuff like and, or, with, as well as of, in, by, etc.) But these common words aren't theme words and so shouldn't show up on your meta-tags.

This above is the result of several studies into page optimization, namely through Michael Campbell, Dr. Andy Williams, SEO2020, and some others.

While the rest of this below post seems fairly accurate, the below is not. (P.S. I blog this to give you all possible data, but also because their site has no particularly apparent way to add a comment.)

Website Magazine : Keyword Research - A Foundation for Local SEO:
"Focus on one or two keywords or phrases per page – and use them in the title, subheads, meta tags, and copy of the page. Also use keyword variations in the text to enhance the keyword’s relevance.

As an example, let’s say your business is called Las Vegas Floral Boutique. You could use your business’s name as one keyword phrase and ‘Las Vegas flowers’ as another. Since most people will be using ‘Las Vegas flowers’ rather than your business name in their searches, mention Las Vegas Floral Boutique occasionally but focus more on the more generic term and use variations like ‘Las Vegas flower shop’, ‘flower shop Las Vegas’, ‘affordable Vegas flowers”, etc."