Benefits of long-tail SEO

There are a number of extremely beneficial side effects to targeting long tail SEO terms, including:
• More focused content
• More targeted traffic
• Higher conversions
• Implicit PageRank improvement for high competition SEO terms
In effect, what you are doing by going after long-tail SEO terms is improving the focus of your
content so that the traffic driven to your site is more targeted. Having highly targeted traffic arriving
on your blog or small business website means that you are able to increase conversions rates and
make more money.
In addition, Google still keeps an eye on your overall content quality, keywords, and popularity. If
26
you are persistent and consistent, eventually Google will have no choice but to start improving your
rankings for more popular search phrases, because your content still contains these terms.

long-tail SEO terms to increase website traffic

Targeting long-tail SEO terms to increase website traffic via Google search only works if you are
able to correctly identify the "right" SEO terms in the first place. The right SEO terms have the
following attributes:
1. Relatively low monthly traffic
2. Relatively low competition
3. Relevant to your blog or small business
4. Are focused and targeted to your ideal audience
Often, great long-tail keywords are slightly more focused versions of the SEO terms that you aren't
able to reach the top page on.
For example, you might not be able to reach the first page for the SEO phrase "small business
SEO", but you may be able to create content that uses the phrase "small business SEO 2012", or
"small business SEO tips", or "small business SEO new york".

PHP Array

array

array array([mixed ...])

Creates an array using the parameters as elements in the array. By using the => operator, you can specify specific indexes for any elements; if no indexes are given, the elements are assigned indexes starting from 0 and incrementing by one. The internal pointer (see current, reset, and next) is set to the first element.
$array = array("first", 3 => "second", "third", "fourth" => 4);
Note: array is actually a language construct, used to denote literal arrays, but its usage is similar to that of a function, so it's included here.
array_count_values

array array_count_values(array array)

Returns an array whose elements' keys are the input array's values. The value of each key is the number of times that key appears in the input array as a value.
array_diff

array array_diff(array array1, array array2[, ... array arrayN])

Returns an array containing all of the values from the first array that are not present in any of the other arrays. The keys of the values are preserved.
array_filter

array array_filter(array array, mixed callback)

Creates an array containing all values from the original array for which the given callback function returns true. If the input array is an associative array, the keys are preserved. For example:
function isBig($inValue) {
  return($inValue > 10);
}
  
$array = array(7, 8, 9, 10, 11, 12, 13, 14);
$new_array  = array_filter($array, "isBig"); // contains (11, 12, 13, 14)
array_flip

array array_flip(array array)

Returns an array in which the elements' keys are the original array's values, and vice versa. If multiple values are found, the last one encountered is retained. If any of the values in the original array are any type except strings and integers, array_flip( ) returns false.
array_intersect

array array_intersect(array array1, array array2[, ... array arrayN])

Returns an array whose elements are those from the first array that also exist in every other array.
array_keys

array array_keys(array array[, mixed value])

Returns an array containing all of the keys in the given array. If the second parameter is provided, only keys whose values match value are returned in the array.
array_map

array array_map(mixed callback, array array1[, ... array arrayN])

Creates an array by applying the callback function referenced in the first parameter to the remaining parameters; the callback function should take as parameters a number of values equal to the number of arrays passed into array_map( ). For example:
function multiply($inOne, $inTwo) {
  return $inOne * $inTwo;
}
  
$first = (1, 2, 3, 4);
$second = (10, 9, 8, 7);
  
$array = array_map("multiply", $first, $second); // contains (10, 18, 24, 28)
array_merge

array array_merge(array array1, array array2[, ... array arrayN])

Returns an array created by appending the elements of every array to the previous. If any array has a value with the same string key, the last value encountered for the key is returned in the array; any elements with identical numeric keys are inserted into the resulting array.
array_merge_recursive

array array_merge_recursive(array array1, array array2[, ... array arrayN])

Like array_merge( ), creates and returns an array by appending each input array to the previous. Unlike that function, when multiple elements have the same string key, an array containing each value is inserted into the resulting array.
array_multisort

bool array_multisort(array array1[, SORT_ASC|SORT_DESC
                     [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING]]
                     [, array array2[, SORT_ASC|SORT_DESC
                     [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING]], ...])

Used to sort several arrays simultaneously, or to sort a multidimensional array in one or more dimensions. The input arrays are treated as columns in a table to be sorted by rows—the first array is the primary sort. Any values that compare the same according to that sort are sorted by the next input array, and so on.
The first argument is an array; following that, each argument may be an array or one of the following order flags (the order flags are used to change the default order of the sort):
SORT_ASC (default)
Sort in ascending order
SORT_DESC
Sort in descending order
After that, a sorting type from the following list can be specified:
SORT_REGULAR (default)
Compare items normally
SORT_NUMERIC
Compare items numerically
SORT_STRING
Compare items as strings
The sorting flags apply only to the immediately preceding array, and they revert to SORT_ASC and SORT_REGULAR before each new array argument.
This function returns true if the operation was successful and false if not.
array_pad

array array_pad(array input, int size[, mixed padding])

Send Email from a PHP Script

you use the mail() function (in combination with a web form in particular), make sure you check it is called from the desired page and protect the form with a CAPTCHA

mail(to,subject,message,headers,parameters);

<?php
$to = "someone@test.com";
$subject = "Test mail";
$message = "Hello! This is a simple email test.";
$from = "someonelse@test.com";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Sent.";
?>


The  mail() function is used to send emails.

WORDPRESS & BLOG PERMALINKS

If you are using Wordpress as your CMS (content management
system), or are running a blog on it, you should take the following
steps to optimize your URLs, also known in the blogosphere as
Permalinks. Permalink is just another name for the specific URL
assigned to each blog post or page you publish.

There are other blog systems out there but I personally use Wordpress
mostly and it is my favorite so far. This principle applies to other blog
software but I’m using Wordpress as the specific ‘how-to’ example
here.

The default format of a blog post/page URL in Wordpress is to use an
id number, so that your URL will look something like:
Yourdomain.com/blog/?p=203
This doesn’t tell the search engines much. So here’s what you do.
Go to the Settings screen from your dashboard, then go to the
Permalinks section.

Check the button next to “Custom Structure” and in the text field,
type:
/%postname%/
This will automatically use the title of your post as the Permalink.
Eg. Yourdomain.com/this-is-my-first-blog-post
This is a much more search engine friendly URL. ***
You can also manually edit the permalink for each post when you are
writing or editing a post or page – the permalink will appear right
underneath the title and you can edit it as you choose. (If you are
using slightly older versions of Wordpress, the permalink is called Post
Slug,

Essential WordPress Plugins

One of the great things about WordPress is that you can extend it with all kinds of
functionality with WordPress Plug-ins. There are hundreds of plugins that you can use,
but here I’d like to list a few of the essential ones.
In WordPress 2.7 and above you can search for and install new plug-ins from within the
WordPress Admin UI. In the past, you had to find them in the Plug-in directory,
download them, and then upload them to your WordPress installation. WordPress 2.7+
simplifies this process a lot!
Here are a few of the essential plug-ins that you’ll want to install on your new website.
OpenHook
Another powerful feature of the Thesis WordPress theme is the ability to add “hooks” to
customize where things appear on your site.
You can add something just before your header, or just after. Just before your sidebar
content, or just after your footer. You get the idea.
To do this, you need to know a little bit about coding PHP. There is an excellent tutorial
that Sugarrae made called Thesis Hooks for Dummies.

WP-DB Backup
You should install this plugin, because you can use it to instantly back up your
WordPress database to a ZIP file and download it.
Even better, you can tell it to back up your WordPress database on a schedule - once per
week for example - and email it to you. It’s a great way to back things up automatically.
To get this plugin, just go to your Plugins menu and select Add New, just like you did
before, and search for WP-DB-Backup.

Headings & Links Seo

If possible, you want to use the core terms and top variations in
headings and sub headings (H1, H2, H3…) on the page. It’s not
absolutely essential that the heading is the first thing on the
page.

Besides the headings, you should also try to work these same terms into the text of
links on the page. This is usually a logical thing anyway, because you should have
two URLs that you’re trying to get ranked for every search term (a first and second
choice) so you can take care of this just by linking them to each other using
keywords.

You may have already done this site structure.
You do NOT need to work every keyword into links. Remember, the phrases you
use in your writing can contain more than one variation of a search term.

Make your site easier to navigate

The navigation of a website is important in helping visitors quickly find the content they want. It can
also help search engines understand what content the webmaster thinks is important. Although
Google's search results are provided at a page level, Google also likes to have a sense of what role a
page plays in the bigger picture of the site.

All sites have a home or "root" page, which is usually the most frequented page on the site and the
starting place of navigation for many visitors. Unless your site has only a handful of pages, you should
think about how visitors will go from a general page (your root page) to a page containing more
specific content. Do you have enough pages around a specific topic area that it would make sense to
create a page describing these related pages (e.g. root page -> related topic listing -> specific topic)?
Do you have hundreds of different products that need to be classified under multiple category and
subcategory pages?
The directory

URL structure

• Use words in URLs - URLs with words that are relevant to your site's content and structure
are friendlier for visitors navigating your site. Visitors remember them better and might be
more willing to link to them.
Avoid:
• using lengthy URLs with unnecessary parameters and session IDs
• choosing generic page names like "page1.html"
• using excessive keywords like "baseball-cards-baseball-cards-baseballcards.
htm"
• Create a simple directory structure - Use a directory structure that organizes your content
well and is easy for visitors to know where they're at on your site. Try using your directory
structure to indicate the type of content found at that URL.
Avoid:
• having deep nesting of subdirectories like ".../dir1/dir2/dir3/dir4/dir5/dir6/
page.html"
• using directory names that have no relation to the content in them

Different types of SEO

This guide covers all major aspects of SEO, including:

• content SEO
• analytical SEO
• performance SEO
• Technical/HTML SEO
• Image SEO
• Off-site SEO

Where possible I will demonstrate techniques (or refer to other articles) with verifiable SEO
examples that you can look at on Google.

Content SEO

Content SEO refers to the techniques you can use to help content appear higher in the SERPs
(Search Engine Results Pages).
How to implement content SEO: Content SEO requires you to know which SEO keywords and
phrases you want to target. This in turn means you need to do some SEO keyword research before
sitting down to write.

The following articles tell you everything you need to know about content SEO:

• Anatomy of a blog post: How to get more traffic and s ocial engagement from your content
• Killer SEO tip: How to make the long tail pay

What's new in content SEO: Google's Panda and Penguin algorithm updates hit a lot of sites. Not
all of the updates affected content SEO - Penguin focused on spammy backlinks, for example.
However, almost all of Google's updates are designed to improve the quality of the content returned
by their search. Quality! That's the new buzzword. Good content SEO starts with high quality
content that is useful, engaging, valuable or entertaining.

Analytical SEO


Analytical SEO makes use of traffic analysis through an analytics service like Google analytics. By
analyzing the sources, demographics, browsing patterns and conversions of organic search traffic, it
is possible to improve your SEO strategy.