Website Success Metrics Seo

Although website content optimization is basically common sense—who doesn’t
want a fast, easy-to-find site with engaging content?—it helps to know the real
impact that it can have on your audience growth, engagement, and ultimately, conversion
and monetization. The following are generally accepted, simple metrics that
you can change through the optimization techniques.

Unique visitors
Hits are not what you think. A server hit is an HTTP request for a single web
object. One web page view can require many hits to the server. The true mark of
how you should measure your audience is in unique visitors. You want to
increase your unique audience by providing fast, engaging, relevant, and navigable
web pages. Tracking new unique visitors can help you track audience
growth.

Average time on site (ATOS) and length of visit
How long are your users sticking around? According to ClickTracks, ATOS is
one of the best measures of user engagement and the propensity to buy.

Pages per visit
The number of pages that were consumed during a visit is a broad and simple
measure of user engagement. Pages per visit and ATOS are two measures that
can indicate possible flow states of high engagement.

Top 10 Tips for Optimizing CSS Seo

The following 10 best practices are designed to speed-optimize your CSS, and your
HTML markup:
1. Replace inline style with type selectors to target multiple instances of identical
elements.
2. Use descendant selectors to avoid inline classes.
3. Group selectors with common declarations.
4. Group declarations with common selectors.
5. Combine common styles into shared classes.
6. Use inheritance to eliminate duplicate declarations.
7. Use CSS shorthand to abbreviate rules and colors.
8. Abbreviate long class and ID names.
9. Use CSS2 and CSS3.x techniques.
10. Replace JavaScript behavior with CSS techniques.
In addition, you can eliminate extraneous whitespace by removing tabs, comments,
and returns.

Tip #1: Replace Inline Style with Type Selectors
This section starts with simple type selectors to streamline markup, and then it
moves through grouping, inheritance, and CSS shorthand, and finally to some
applied techniques to replace JavaScript behavior.

Web pages that use inline style pepper HTML code with unnecessary font and style
tags. This effectively hardcodes the presentation directly within the HTML. Unless
the style is used only once, it is more efficient to create a CSS rule and target all elements
of a certain kind with type selectors (i.e., p, ul, h2, etc.). For example, this:
<h2 style="font-size:1.2em;color:red;">Little red Corvette</h2>
<h2 style="font-size:1.2em;color:red;">Baby you're much too fast to embed</h2>
<h2 style="font-size:1.2em;color:red;">Little red Corvette</h2>
<h2 style="font-size:1.2em;color:red;">You need a love that's gonna last</h2>
becomes this, by abstracting the inline style to a block style:
<style type="text/css"><!--
#main h2{font-size:1.2em;color:red;}
--></style>
The corresponding HTML cleans up to this:
<div id="main">
<h2>Little red Corvette</h2>
<h2>Baby you're much too fast</h2>
<h2>Little red Corvette</h2>
<h2>You need a love that's gonna last</h2>
</div>
Note how clean the code becomes after you remove the inline styles. This CSS technique
also helps search engine optimization (SEO) by boosting keyword density and
prominence.

Image SEO

Images are integral to content. Meaningful or unusual images that attract attention also serve to
associate your content in the reader's mind. Think of an image as an internal reference that helps
readers remember a piece of content.


Image SEO is also crucial because Google recognizes the importance of images. I do the following:
• provide meaningful file names with SEO keyphrases
• provide Alt and Title tags with SEO keyphrases
This has helped me to drive traffic for hugely competitive SEO keywords via images instead of
content alone.

Lead paragraph SEO

I don't beat around the bush. I open my articles with a sentence that reiterates the page heading and
explains what the reader will get from the content.
This is great for SEO for two reasons:
• it creates a meaningful content teaser for humans viewing search results
• it allows you to use the primary SEO keyphrase again in a natural way
By making your opening paragraph as meaningful as possible, and as closely related to the page
header as possible, you encourage Google to return that portion of the page in the search results.
Bonus SEO tip: I use the lead paragraph in the META description tag of my HTML too.

5 reasons why video blogging is great for SEO and marketing

Video blogging (adding video clips to a blog) can help to drive traffic, lower bounce rate, increase
engagement and conversions, and generally improve SEO (Search Engine Optimization) and
Internet marketing.
Video blogging also provides plenty of "different" marketing opportunities that written content
can't.
Bloggers who rely on written content only may find their rankings in search engines suffering as
Google continues to include more and more video results (especially from YouTube) in its organic
search results.
Why start video blogging?
In order to capture as much valuable search traffic as possible, it is important for businesses and
bloggers to create as much high quality, relevant and engaging content as possible. Finding ways to
get that content in front of people is just as important.
Video blogging can help content to rank more highly in search results, and adds new channels for
online visibility. This is mainly because video content is becoming more and more popular as a
medium for social communication and marketing.
How to get started with video blogging
Getting started with video blogging is super easy. All you need is a:
• decent webcam
• YouTube account
Most modern webcams come with built-in YouTube integration. Once you have created a YouTube
profile, it will be easy to upload videos recorded with a webcam to your YouTube account.
YouTube makes it easy to annotate and describe video content, as well as embed it in other
webpages or blog posts.
5 top reasons why video blogging is important for SEO and
Internet marketing
Most of the world's Internet traffic originates with search, and more specifically, Google search.
Search optimization and Internet marketing is all about finding innovative and creative ways to rank
better in organic search results and drive traffic via social media, backlinks, and anywhere else
potential readers and customers may be found.

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,