понедельник, 16 марта 2009 г.

Спасаем пост о вставке ключевых слова в заголовок


This is one thing I like to tweak a LOT, with my blogs/websites — the Page Title.
The page title is exceedingly important. If you use weak keywords, your blog or website is not going to have a good placement in search engines. If you can’t be found easily in search engines, the effect is a loss of traffic (no matter how good your site’s content might be), which is really wasted effort on your part.

I’ll cover Page Title for Blogspot. 
The
<*title> and <*/title> tags are the same for a regular website as well.
// To cut a long story short (if you just want the code), skip to Point #4.
// If you want to know a little more about how page titles work, please carry on.


1. Where to Find Code
In the “Edit HTML” page of a Blogger template, there is this code somewhere at the top.
The <*data:blog.pageTitle> part is set under Settings>> Title, in your Blogger interface. It’s also what appears on your Blogger blog.
2. Page Title Tweaking
At the time of this post, I was still on Blogger. My title was set as “Website Tips”, and it was visible as the big white font title on the header.

However, my actual page title showed “Web Hosting Tips, Website Tips”.
It’s because I changed
<*data:blog.pagetitle> to <*web hosting="" website="" tips="">.
I found that too long for my blog homepage — but I also thought that “Website Tips” alone was too short for search engines.
I wouldn’t want to put “WebHost Monkeys” as the only words in the <*title> attribute.
People aren’t likely to type “webhost monkeys” (even though it sounds cute) if they’re looking for “website tips” instead. Hence, your page title should include KEYwords — that is why they are called keywords.

If you really want to include your site name, do it this way.
<*title>Web Hosting Tips, Website Tips - WebHost Monkeys<*/title>
3. But that alone won’t work on Blogger…
The problem with the step above, is that the page title for your homepage will be set as the page title for EVERY single one of your posts. This is definitely not a good thing, as you’ll want each of your individual posts to be found.
You wouldn’t want a single post titled “Romantic Fantasy Art”, to take on the post title of “Art Blog”, even though “Art Blog” might be the blog title.

4. Code to Add
New Blogger Template
Open the Blogger HTML template. This hack was applied by Feureau.

Replace <*title><*data:blog.pageTitle><*/title> this with the following code:
file1
You can change <*data:blog.pageTitle> — on the second last line of code — if you’d like to tweak your page title.

Classic Blogger Template
Use the code provided by Page Title Optimisation - Freshblog. The code to change will most likely be   <*title><*$blogpagetitle$><*/title>.
file2
Now, your blog’s search results will show the post title in front, followed by the main blog title. Improved SEO.

Page Title - WordPress.com

Blog title is changed under Options>> General Options. The title there is fixed — it’s the same on both the live blog page, as well as the page title.

However, take note of meta description (those using WordPress.org — I’ll cover WP in a future post).

More Tips:

1. Search engines have been known to give a very slight priority to alphabetical order.

2. Limit your title tag to less than 60 characters (usually about 7 to 10 words). Any longer and part of your title may get chopped off by some search engines.

l3. Actually, my page title is not optima — if you can, you should avoid using what are called dead weight words in title tags. These are words that have become so common that search engines give irrelevant results when the words are entered into the search. Examples include homepage or homepage, WWW, web and web page.

I will continue on header tags, and meta descriptions, on another post.
Reference: 
Basic SEO Tips - Get Found Now
Swapping Post and Blog Title on New Blogger
Page Title Optimisation - Freshblog