WordPress by default has the main page with your articles, each article can be found on the categories page, the archive page, and it?s own page. The problem with this is search engines will spider (travel from link to link) examining content and eventually listing it in their search engine. Unfortunately in a standard WordPress installation this will lead to several pages having the same, or very similar content. These days search engines will penalise a site for this, meaning your important page might not be listed, or certain important pages may be lower in the searches than they should be.
1. I added the following to the header.php of my current theme. This will stop pages that are NOT a single page (a full post), a content page (like about), or the home page from being listed in search engines.
2. I added the following to my header.php file of my current theme, this will give unique titles and descriptions depending on what type of page it is. (Make sure you remove any lines relating to <title> or <META NAME=?DESCRIPTION? or <META NAME=?KEYWORDS? otherwise it may not work correctly. NOTE: Please change the text in italics to your titles, descriptions and keywords to suit your site.
<?php
if(is_home() || is_search()) // Is it home page or search page? If so have the following tags.
{
echo ?<title>the great website for most popular information, dedicated all free, trusted and up to date</title>?;
echo ?<META NAME=?DESCRIPTION? CONTENT=?the great website for most popular information, dedicated all free, trusted and up to date?>?;
echo ?<META NAME=?KEYWORDS? CONTENT=?afrizal, zall, love, poem, puisi, cinta, cerita, komputer, it news, gadget news, computer stuff, webmaster, web design, free cms, free blog tutorials, artikel, free download, online business, online marketing, teknologi, credit cards, article about, internet money, free money online, internet business, make money, how to make, making money, home business, indonesia internet, cari uang di internet, articles, internet marketing, internet advertising, seo services, most popular, computer tutorials, biography of, tricks tips, credit card banks, gadgets information, blogging, blog walking, dofollow blog, indonesia, jobs vacancy in, free download software?>?;
}
elseif(is_category()) // Is it a catagory page? If so have the following tags.
{
echo ?<title>Did You connected with zall? – Catagory: ?.single_cat_title(?”, false).?</title>?;
echo ?<META NAME=?DESCRIPTION? CONTENT=??.single_cat_title(?”, false).? Catagory: the great website for most popular information, dedicated all free, trusted and up to date?>?;
echo ?<META NAME=?KEYWORDS? CONTENT=?afrizal, zall, love, poem, puisi, cinta, cerita, komputer, it news, gadget news, computer stuff, webmaster, web design, free cms, free blog tutorials, artikel, free download, online business, online marketing, teknologi, credit cards, article about, internet money, free money online, internet business, make money, how to make, making money, home business, indonesia internet, cari uang di internet, articles, internet marketing, internet advertising, seo services, most popular, computer tutorials, biography of, tricks tips, credit card banks, gadgets information, blogging, blog walking, dofollow blog, indonesia, jobs vacancy in, free download software?>?;
}
elseif(is_archive()) // Is it an archive page? If so have the following tags.
{
echo ?<title>Afrizal’s Papers Archives</title>?;
echo ?<META NAME=?DESCRIPTION? CONTENT=?the great website for most popular information, dedicated all free, trusted and up to date?>?;
echo ?<META NAME=?KEYWORDS? CONTENT=?afrizal, zall, love, poem, puisi, cinta, cerita, komputer, it news, gadget news, computer stuff, webmaster, web design, free cms, free blog tutorials, artikel, free download, online business, online marketing, teknologi, credit cards, article about, internet money, free money online, internet business, make money, how to make, making money, home business, indonesia internet, cari uang di internet, articles, internet marketing, internet advertising, seo services, most popular, computer tutorials, biography of, tricks tips, credit card banks, gadgets information, blogging, blog walking, dofollow blog, indonesia, jobs vacancy in, free download software?>?;
}
else // Is full post page? If so have the following tags.
{
echo ?<title>?.wp_title(?, false).?</title>?;
echo ?<META NAME=?DESCRIPTION? CONTENT=?Did You connected with zall? - ?.wp_title(?, false).? the great website for most popular information, dedicated all free, trusted and up to date?>?;
echo ?<META NAME=?KEYWORDS? CONTENT=?afrizal, zall, love, poem, puisi, cinta, cerita, komputer, it news, gadget news, computer stuff, webmaster, web design, free cms, free blog tutorials, artikel, free download, online business, online marketing, teknologi, credit cards, article about, internet money, free money online, internet business, make money, how to make, making money, home business, indonesia internet, cari uang di internet, articles, internet marketing, internet advertising, seo services, most popular, computer tutorials, biography of, tricks tips, credit card banks, gadgets information, blogging, blog walking, dofollow blog, indonesia, jobs vacancy in, free download software?>?;
}
?>
3. I use the following robots.txt file which stops search engines viewing some pages. In this case it will allow the Mediapartners-Google bot access (this is used for determining what adverts AdSense displays) which is necessary for relevant ads. The final line is a link to the sitemap file i use.