Posts Tagged ‘search engine optimization’

.htacess file tutorial – useful tips

Wednesday, August 12th, 2009

Overview of the “application of principle”

Much of what we find on search engine optimization (SEO) blogs, internet marketing web-inars or your favorite web design news-feeds contain basic strategies to propel your website into the top SERP’s. While this is useful information, sometimes putting these strategies into practice for web designers, internet marketeers, digital strategists or web developers—is very misunderstood, and the ability to put it these strategies into practice, or apply it in a real world situation is lacking.

Much of this APPLICATION of PRINCIPLE—relies on technique, understanding multiple facets of design and development, technical knowledge, past experience (seeing what works and where), trial and error, keeping up with the changing landscape, and many many other factors. The point is that there are “many” and to be able to apply SEO and internet marketing with results—we need to understand strategy and principles as well as being able to apply it. The “apply” is usually taken for granted, and while there are hundreds of thousands out there talking about it, only a few of us know how to apply it with beautiful results!

One small but powerful thing to be aware of is a .htaccess file—here is some basic information

.htaccess (hypertext access) is the default name of a directory-level configuration file that allows for decentralized management of web server configuration. The .htaccess file is placed inside the web tree, and is able to override a subset of the server’s global configuration; the extent of this subset is defined by the web server administrator.

Nowadays .htaccess can override many other configuration settings, mostly related to content control, e.g. content type and character set, CGI handlers, etc.

Below are some basic tips and uses of .htaccess file

1. Create a custom error page.
.htaccess makes it easy to create your own custom error pages. Just create your custom error page files and then add this code to your .htaccess file:
ErrorDocument 401 /401.php  
ErrorDocument 403 /403.php  
ErrorDocument 404 /404.php  
ErrorDocument 500 /500.php
(you should replace the “/500.php” or whatever with your own file path and name.)

2. Prevent directory browsing.
If you don’t include an index file in a directory, visitors can browse the directory itself. But preventing that is as easy as adding a single line to your .htaccess file:
Options All –Indexes

3.Block access to your .htaccess file
By adding he following code to your htaccess file will prevent attempts to access your htaccess file. This extra layer of security protects your htaccess file by displaying a 403 error message on the browser.
# secure htaccess file 
 
Â order allow,deny 
Â deny from all

4. Set the default page of each directory.
If you don’t want to use an index page in each directory, you can set the default page visited when someone reaches (like an about page or a page offering the newest content) that directory by adding this:
DirectoryIndex news.html
(And of course you’d replace the “news.html” bit with whatever you want to use as the default.)

5.Redirect everyone to different site except few IPs
If you want to redirect all the visitors to a different IP. Also give access to certain  few IPs. You can use the code below:
ErrorDocument 403 http://www.youdomain.com 
Order deny,allow 
Deny from all 
Allow from 124.34.48.165 
Allow from 102.54.68.123

6. Redirect Visitors While You Update Your Web Design Site
Update and test your site while visitors are redirected to the page of your choice:
order deny,allow 
deny from all 
allow from 123.123.123.123
ErrorDocument 403 /page.html
allow from all
Replace 123.123.123.123 with your IP address
. Also replace page.html with the name of the page you want visitors to see.

7. Disguise your file types.
You can disguise all of your file types by making them appear as PHP files. Just insert this snippet in:
ForceType application/x-httpd-php

8. Protect your site from hotlinking.
The last thing you want is for those stealing your content to also be able to embed the images hosted on your server in their posts. It takes up your bandwidth and can quickly get expensive. Here’s a way to block hotlinking within htaccess:
view plaincopy to clipboardprint? 
RewriteEngine On  
RewriteCond %{HTTP_REFERER} !^$  
RewriteCond %{HTTP_REFERER} !^http://([ -a-z0-9]  \.)?domain\.com [NC]  
RewriteRule \.(gif|jpe?g|png)$ – [F,NC,L]
(Of course you’ll want to replace the domain\.com with your own domain name.)

9. Restrict file upload limits for PHP:
You can restrict the maximum file size
for uploading in PHP, as well as the maximum execution time. Just add this:

php_value upload_max_filesize 10M  
php_value post_max_size 10M  
php_value max_execution_time 200  
php_value max_input_time 200
Line one specifies the maximum file size for uploading; line two is the maximum size for post data; line three is the maximum time in seconds a script can run before it’s terminated; and line four is the maximum amount of time in seconds a script is allowed to parse input data.

10. Force a file to download with a “Save As” prompt.
If you want to force someone to download a file instead of opening it in their browser, use this code:
AddType application/octet-stream .doc .mov .avi .pdf .xls .mp4

11. Redirect to a secure https connection
If you want to redirect your entire site to a secure https connection, use the following:
view plaincopy to clipboardprint? 
RewriteEngine On  
RewriteCond %{HTTPS} !on  
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

12.Block script execution.
You can stop scripts in certain languages from running with this:
Options –ExecCGI  
AddHandler cgi-script .pl .py .php .jsp. htm .shtml .sh .asp .cgi
Just replace the types of scripts you want to block.

13. Set up a 301 redirect.
If you move around the structure of your site and need to redirect some old URLs to their new locations, the following bit of code will do so for you:
view plaincopy to clipboardprint? 
Redirect 301 /original/filename.html http://domain.com/updated/filename.html

Important Note:

1-Be careful of spelling- .htaccess is not forgiving of spelling errors.
2-htaccess is case sensitive. If something is shown in the examples with a capital letter, make sure it’s capitalized in your htaccess file.

For readers interested in advance knowledge, I will recommend the following guides:
http://www.askapache.com/htaccess/apache-htaccess.html
http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/
http://www.noupe.com/php/htaccess-techniques.html
http://www.thomsonchemmanoor.com/16-useful-htaccess-tricks-and-hacks-for-web-developers.html
http://frontdeskapp.com/blog/5-htaccess-tricks-every-webmaster-should-know/

Source: http://www.sem-seo-resources.com/node/63

SEO for interactive copywriters – Part 3

Wednesday, July 29th, 2009

We have posted before about SEO for interactive copy writers and web designers, but this time we are talking about the things NOT to do for SEO Copy writing.

1. Don’t shove as many key phrases into the copy as humanly possible.

 Which pages land at the top is decided through a series of calculations far more complex than any simple ratio. When you overload copy with keyphrases you sacrifice quality and user experience. Don’t hack up sentences and stuff them un-naturally with search phrases

2. You have two audiences with SEO copywriting: the search engines and your site visitors. Balance between writing good, quality content that will keep your visitors interested, want to hare the information and keep coming back for more and keeping sure that your keyword densities are proper and pages are designed well for search engines rankings.

3. Don’t use keyphrases that don’t apply to the page. 

If you operate a site about web design, don’t try to force a search term about web development into the copy just because it pulls a lot of traffic. (A) Unless you sell, web development, it won’t be applicable. (B) Even if you manage to get the page ranked well for the phrase [web development], once the visitor clicks to your site and realizes you have nothing to do with web development, they will leave.

4. Don’t use misspellings and correct spellings on the same page.

 Sometimes we understand that misspellings will come up in search engine results but, it makes for a poor user experience for your visitors.

5. Don’t use keyphrases the exact same way every time.

 There are lots of ways to use keywords in copy, not just one. In order to sound natural, get creative with your keyphrase usage. One way is to break up phrases using punctuation or using conjugations of words. Since search engines don’t pay attention to basic punctuation marks, you can easily write something using the search term, while the punctuation such as periods and commas are omitted in the spider’s eyes.

6. Don’t use all types of search phrases for every situation.

 Long-tail keyphrases should be reserved for pages deeper in your website that get more specific than on the home page. Broader terms are typically best for a home page.

7. Don’t neglect ALT tags/image attributes.

These tags are the ones associated with images on your pages and they carry a good deal of weight especially if the image is used as a link. The ALT text counts the same as anchor text in a text-based link.

8. There’s a method to the SEO copywriting madness. The idea is not to get as many different keyphrases onto a page as possible. Rather than having 12 different search terms used only one time each, you should use two to four keyphrases (depending on the length of your copy) per page. The title, META tags, ALT tags, other coding elements and on-page copy need to support each other as far as keyphrase use goes. Your goal is to let the engines know that you have original, relevant content about a narrow topic.

 Pick two or three terms which are closely related and use them several times each along with mentioning them in your tags.

When your copy writing, web development and design follows these SEO guidelines, you’ll find your copy flows much better, is more natural-sounding and ranks higher.

SEO through keyword modification

Tuesday, July 21st, 2009

Keyword modification is a nice concept for maximizing your keywords for SEO. The key to modifying your keywords properly is to take your primary keyword and use it in its many variations. For instance, if your primary keyword is “web design”, there are a number of ways that you can utilize this phrase other than using that specific phrase as it is. You can pluralize it (web designs), turn it into a verb (web designing), or split it up with words in between (designing on the web).

Keyword modification, however, is not just simply using the modified phrases on the same page with your primary keyword and there is more to it than simply adding new pages to your static website. It is a particularly useful technique for bloggers who write about a topic every day. You likely have a list of keywords related to your topic, and you should. If your keyword list contains 100 key phrases and each of them has 10 different variations that are potentially helpful for you then you’ve just expanded your keyword list to 1,000.

That’s not to say you have to use every keyword variation you can think of, and you should maximize one keyword or keyword phrase for each HTML page. Search engine optimization is not all about using the exact phrase every time you include a keyword phrase in your content. It is usually best to write in a natural language way, and to include your keyword phrases as necessary to make the language flow well for human readers.

Writing for the web (SEO)

Tuesday, June 23rd, 2009

They have been saying “content is KING” for a long time – that includes content in all it’s various forms (video, web design, social media, articles, animation, etc.) as well as the delivery and design of content too!

There are literally thousands of articles about “writing good content for the web” — over the years I took some time to read as many as I could, so with everything learned and much applied here it is :

Keep it simple:

When writing for the web we should strive for simplicity, consistency, and clarity; this means chunking up content, using bullets, and keeping copy short. People don’t necessarily read on the web they scan, so keeping copy in bit-sized pieces makes the task of digesting information much easier. We can evaluate copy by asking the following questions:

* Does the copy get to the point quickly?
* Is the copy shy about the offer or incentive?
* Is it easy to respond to?
* Does the copy overcome every objection to replying, leaving the reader with no choice but to act?
* Does the copy use simple words?
* Does the copy use active language; does it address the site visitor as ‘you’ ?
* Is the copy broken down into simple sections and bullet points?

People read 25% slower on screen, so keep your sentences and paragraphs ultra-short. Highlight keywords to make the messages jump out. If the website is offering something, make sure the offer is simple and transparent—and be clear about what you are asking people to do if a response is needed.

People spend some of their time understanding the page layout and navigation features, as well as looking at the images. And generally actually read only 20% of what is on the page.

Website visitors are restless. They spend more time scanning and clicking than reading, and they expect quick progress. Your copy should:

* Be specific—the first five words must have meaning.
* Make the news stand out—don’t bury your message.
* Signal where to go—make the actions visually clear, ensure the click-through paths follow a logical sequence, so that visitors can go straight to the key information.

Keep It real—keeping copy short comes with a caveat:

Keeping copy short is sometimes, but not universally good advice—people are generally looking for content.
Just because something is published online doesn’t mean it must be read online. One good tactic for longer segments of information is to allow for site visitors to print and read it offline.

How many words: (for web designers in cooperation with keyword density strategies)

1. 250-word count for each optimized page exactly balances search engine and reader needs.
a. The search engine spiders crave content.  You may see “a lot of words,” but the search engines see “a document with lots of important data to extract.” As long as you follow usability principles, you can write tons of text without overwhelming your reader.
b.  A longer word count makes it easier to include your keyphrases without sacrificing your marketing message.
2. Identify no more than 3 keywords and create a theme around them. If you have more than 3 keywords? Create another page.
3. A page title shouldn’t be longer than 8 words. Google cuts them off typically at that point.
4. Paragraphs for web content should be between 2-5 sentences in length, unless the sentences themselves are longer,
and then perhaps only 3 sentences to a paragraph. (Paragraphs: 40 – 70 words)
5. Headings: 8 words or less

When writing headings:

1. Keep them to eight words or less
2. Include important keywords
3. Avoid the use of adjectives and prepositions (and, a, the, of).
4. Be clear and concise. Avoid wordy, wishy-washy phrases.
5. summarizing the essence of what’s on offer and allowing visitors to access what they require fast.
6. Website visitors are looking for information fast. The best headlines for the web immediately communicate facts.
7. The title could be short and work the best. However longer titles can have keywords and are more searchable

Use many sub-heads:

Start the writing with a header followed by short sentences.
Use as many sub heads as required for different points.
Sometimes you may also use a list to highlight all the important points.

Sell benefits not features—Focus on making content more personal:

A feature describes a product or service. A benefit is what the user gains from using that product or service.
Don’t say, “Our duvets are warm and comfortable,” say “You’ll be warm and comfortable in one of our duvets.”
Tell your customers how your product or service will make them happier, healthier, wealthier.

In other words focus on making sure every line of your copy is dedicated to what’s in it for them.

Scrolling copy:

Do you lose customers with scrolling copy?  No.  According to a study by User Interface Engineering (UEI),
One of the most significant findings of our research on Web site usability is that users are perfectly willing to scroll.

However, they’ll only do it if the page gives them strong clues that scrolling will help them find what they’re looking for.
Anything that appears “above the fold” is immediately visible when the web page loads. Site visitors will use this information to make an instant decision as to whether the site is useful to them—they will only scroll down if you have successfully grabbed their attention and aroused enough interest.

In the trade-off between hiding content below the fold or spreading it across several pages, users have greater success when the content is on a single page.

Keep it memorable, engaging, and formulate trust with words:

Emerging web standards and technologies nourish the new approaches to web design, clarity and coherence.
Create a memorable experience and giving the site visitor a reason to remember the experience

Content is the heart of the user experience. From the body content to the alt text to the footer, the words that shape the page lie at the very center of an engaging visit. If the words aren’t beautiful and meaningful, the sleekest design in the world won’t compensate for it.
When content is thoughtful, personable, and faithfully written it hooks the reader and draws him in, encouraging him to click this link or that, to venture further into a website. The content will need to deliver what it promises, and this will hold an attentive reader, staying longer on your web site.


Speak to the individual, not the audience:

Try to personalize your web copy as much as possible. Build a picture of your readers. Are they likely to be familiar with the product on offer? Are they likely to be regular internet users? Are they in regular communication with your client’s company? If any of your answers are “yes,” integrate that knowledge into your copy to make your reader feel more connected and understood.

If you don’t know the answers, give visitors a choice of avenues so they can access more targeted information. (You might include things like links to detailed product information, company news updates, and detailed ordering instructions for people who may be unfamiliar with e-commerce conventions.)

ALT TAGS:
alt text does a tricky thing: it translates a visual experience into a coherent, semantic expression. It takes the implied and makes it explicit—an emotional trigger palpably interpreted. With a mere handful of words, alt text must relate the full impact of an image to those who can’t, for whatever reason, see it.

Summarize and HOOK the reader:

Different from print medium you will want to start your writing with a small summary of what you want to say.
Then say what you want to in the main content.
Finally conclude by giving a summary of what you have said.

A “bottom down” approach is necessary, with the conclusion or summary at the top.  This may seem like a superficial treatment of subject matter, and it can be.  However, keep in mind that millions of websites compete to deliver information, and if your website is written in a clear, direct manner, you will succeed in delivering information.

The first part of your article really needs to be something that will grab the reader’s attention in those first 3-5 seconds and make them read further so save your introduction for something that will really hook your reader.

Keywords — and keys to writing for SEO:

Balance your marketing message with the use of keywords
Optimize your pages for more than one keyphrase.
Focus on Keyphrases but don’t force them into your copy flow
Use key-phrases to emphasize your point.

1. Use Keywords in URL. The keywords you mentioned in the URL must be mentioned on the webpage as well.

2. Use Keywords in <title> tag. No more than 8 words.
It is also the title of the page on the Search Engine Results Pages (SERPs).
Listed by others as one of the Big Three (tags, links, and text), we’re putting title tags at the top.

3. Keywords In content
Try to use your keywords in <h1> and <h2> tags.
Don’t spam the page with <h1> tags, just include the keywords naturally into your content.

4. Use Keywords in Anchor Text of Inbound Links
When you get links to your website from external websites, try to vary the anchor text used.
Don’t always link straight to your index page, instead get links to deeper pages.

5. Use keywords in images <alt> tag

6. Keywords in and around hyperlinks
Include keyphrases in and around hyperlinks (otherwise known as call-to-action links). Key to the link analysis algorithm is not only the number of links that point to your page, but also the contextual phraseology around the links.  In other words, if your phrase appears in or near a hyperlink, the search engines may give it a relevancy boost.

7. Balance your marketing message with the use of keywords, focus on Keyphrases but don’t force them into your copy flow. It is not so prudent to jam pack your copy in an unnatural way with keywords or key-phrases.
Although search engine spiders might eat this up, readers will revolt. Plan on including your two to three main keyphrases at least three times each within the body text.

Just look at the keyphrase-packed drivel people had to wade through:

“Our web design services are the best web design services on the ‘Net today.  Discover the best web design services  in New York City are right for you.”

Sure, you immediately know the keyphrase is “web design”  But, the constant keyphrase repetition jack hammered the sales flow.

……………………………………………………………………………………………………………………………………………

So–it’s not everything but it is a fair summation of things web designers, web developers, digital strategists or people building their own website can try. Remember all the information is out there and anyone can read about it — it’s up to you to apply it and really find out what works online with results !