Archive for 2010

How to optimise web site for SEO? SEO Tips.

Comments Off on How to optimise web site for SEO? SEO Tips.

  • If you use Java script drop down menus, image maps or image links, be sure to put text links somewhere on the page for the spiders to follow.
  • Have good, well-written and unique content that will focus on your primary keyword or keyword phrase and your title meta tag
  •  Build a network of quality backlinks using your keyword phrase as the link. Remember, if there is no good, logical reason for that site to link to you, you don’t want the link.
  • A site with lower PR can actually outrank one with a higher PR. Don’t be obsessed with PageRank (part of the ranking algorithm).
  •  Be sure you have a unique, keyword focused Title tag on every page of your site. And, if you MUST have the name of your company in it, put it at the end. Unless you are a major brand name that is a household name, your business name will probably get few searches.
  •  Fresh content can help improve your rankings. Add new, useful content to your pages on a regular basis. Content freshness adds relevancy to your site in the eyes of the search engines.
  • Be sure links to your site and within your site use your keyword phrase. In other words, if your target is “blue widgets” then link to “blue widgets” instead of a “Click here” link.
  •  Focus on search phrases, not single keywords, and put your location in your text (“our Palm Springs store” not “our store”) to help you get found in local searches.
  • Don’t design your web site without considering SEO. Make sure your web designer understands your expectations for organic SEO. Doing a retrofit on your shiny new Flash-based site after it is built won’t cut it. Spiders can crawl text, not Flash or images.
  •  Use keywords and keyword phrases appropriately in text links, image ALT attributes and even your domain name.
  •  Check for canonicalization issues – www and non-www domains. Decide which you want to use and 301 redirect the other to it. In other words, if http://www.domain.com is your preference, then http://domain.com should redirect to it.
  •  Check the link to your home page throughout your site. Is index.html appended to your domain name? If so, you’re splitting your links. Outside links go to http://www.domain.com and internal links go to http://www.domain.com/index.html.
  • Ditch the index.html or default.php or whatever the page is and always link back to your domain.
  • Frames, Flash and AJAX all share a common problem – you can’t link to a single page. It’s either all or nothing. Don’t use Frames at all and use Flash and AJAX sparingly for best SEO results.
  •  Your URL file extension doesn’t matter. You can use .html, .htm, .asp, .php, etc. and it won’t make a difference as far as your SEO is concerned.
  •  Got a new web site you want spidered? Submitting through Google’s regular submission form can take weeks. The quickest way to get your site spidered is by getting a link to it through another quality site.
  • If your site content doesn’t change often, your site needs a blog because search spiders like fresh text. Blog at least three time a week with good, fresh content to feed those little crawlers.
  •  When link building, think quality, not quantity. One single, good, authoritative link can do a lot more for you than a dozen poor quality links, which can actually hurt you.
  •  Search engines want natural language content. Don’t try to stuff your text with keywords. It won’t work. Search engines look at how many times a term is in your content and if it is abnormally high, will count this against you rather than for you.
  • Not only should your links use keyword anchor text, but the text around the links should also be related to your keywords. In other words, surround the link with descriptive text.
  • If you are on a shared server, do a blacklist check to be sure you’re not on a proxy with a spammer or banned site. Their negative notoriety could affect your own rankings.
  • Be aware that by using services that block domain ownership information when you register a domain, Google might see you as a potential spammer.
  •  When optimizing your blog posts, optimize your post title tag independently from your blog title.
  •  The bottom line in SEO is Text, Links, Popularity and Reputation.
  •  Make sure your site is easy to use. This can influence your link building ability and popularity and, thus, your ranking.
  •  Give link love, Get link love. Don’t be stingy with linking out. That will encourage others to link to you.
  •  Search engines like unique content that is also quality content. There can be a difference between unique content and quality content. Make sure your content is both.
  •  If you absolutely MUST have your main page as a splash page that is all Flash or one big image, place text and navigation links below the fold.
  •  Some of your most valuable links might not appear in web sites at all but be in the form of e-mail communications such as newletters and zines.
  •  You get NOTHING from paid links except a few clicks unless the links are embedded in body text and NOT obvious sponsored links.
  •  Links from .edu domains are given nice weight by the search engines. Run a search for possible non-profit .edu sites that are looking for sponsors.
  •  Give them something to talk about. Linkbaiting is simply good content.
  •  Give each page a focus on a single keyword phrase. Don’t try to optimize the page for several keywords at once.
  •  SEO is useless if you have a weak or non-existent call to action. Make sure your call to action is clear and present.
  • SEO is not a one-shot process. The search landscape changes daily, so expect to work on your optimization daily.
  •  Cater to influential bloggers and authority sites who might link to you, your images, videos, podcasts, etc. or ask to reprint your content.
  •  Get the owner or CEO blogging. It’s priceless! CEO influence on a blog is incredible as this is the VOICE of the company. Response from the owner to reader comments will cause your credibility to skyrocket!
  •  Optimize the text in your RSS feed just like you should with your posts and web pages. Use descriptive, keyword rich text in your title and description.
  •  Use captions with your images. As with newspaper photos, place keyword rich captions with your images.
  •  Pay attention to the context surrounding your images. Images can rank based on text that surrounds them on the page. Pay attention to keyword text, headings, etc.
  •  You’re better off letting your site pages be found naturally by the crawler. Good global navigation and linking will serve you much better than relying only on an XML Sitemap.
  •  There are two ways to NOT see Google’s Personalized Search results:
  • (1) Log out of Google
  • (2) Append &pws=0 to the end of your search URL in the search bar
  •  Links (especially deep links) from a high PageRank site are golden. High PR indicates high trust, so the back links will carry more weight.
  • Use absolute links. Not only will it make your on-site link navigation less prone to problems (like links to and from https pages), but if someone scrapes your content, you’ll get backlink juice out of it.
  •  See if your hosting company offers “Sticky” forwarding when moving to a new domain. This allows temporary forwarding to the new domain from the old, retaining the new URL in the address bar so that users can gradually get used to the new URL.
  •  Understand social marketing. It IS part of SEO. The more you understand about sites like Digg, Yelp, del.icio.us, Facebook, etc., the better you will be able to compete in search.
  •  To get the best chance for your videos to be found by the crawlers, create a video sitemap and list it in your Google Webmaster Central account.
  • Videos that show up in Google blended search results don’t just come from YouTube. Be sure to submit your videos to other quality video sites like Metacafe, AOL, MSN and Yahoo to name a few.
  •  Surround video content on your pages with keyword rich text. The search engines look at surrounding content to define the usefulness of the video for the query.
  •  Use the words “image” or “picture” in your photo ALT descriptions and captions. A lot of searches are for a keyword plus one of those words.
  •  Enable “Enhanced image search” in your Google Webmaster Central account. Images are a big part of the new blended search results, so allowing Google to find your photos will help your SEO efforts.
  •  Add viral components to your web site or blog – reviews, sharing functions, ratings, visitor comments, etc.
  •  Broaden your range of services to include video, podcasts, news, social content and so forth. SEO is not about 10 blue links anymore.
  •  When considering a link purchase or exchange, check the cache date of the page where your link will be located in Google. Search for “cache:URL” where you substitute “URL” for the actual page. The newer the cache date the better. If the page isn’t there or the cache date is more than an month old, the page isn’t worth much.
  • If you have pages on your site that are very similar (you are concerned about duplicate content issues) and you want to be sure the correct one is included in the search engines, place the URL of your preferred page in your sitemaps.
  •  Check your server headers. Search for “check server header” to find free online tools for this. You want to be sure your URLs report a “200 OK” status or “301 Moved Permanently ” for redirects. If the status shows anything else, check to be sure your URLs are set up properly and used consistently throughout your site.

Random Web Development and Web Designer Tips

More Web Development and Web Designer Tips added every day. Come back Soon...

Close button script.

<a href="javascript:window.close();"><img src="images/but_close.gif" border="0" width="74" height="18" vspace="10" alt="CLOSE"></a>

Some browsers will close only window if it was open as pop-up.

Show text inside search box.

<input onfocus="this.value=''" type="text" value="some text" />
<input onfocus="this.select()" type="text" value="some text" />

This gives the user to amend text that they have put in, without having to rewrite it completely if they go back to the box.

Div left – Div Right.

<div align=”center”>
<div style=”width:70%; float:left;”>
some text on the right

</div>
<div style=”width:29%; float:right;”>

some text on the left

</div>

Advise it to keep it less then 100%  total width.

Frame Kill
Copy this code and paste it between the <head> and </head> tags of your page (after “title”)

  •  

      <SCRIPT TYPE="text/javascript"> 
  • top.location=self.document.location;

    •  
        <!--
        if (top.frames.length!=0)
        // -->
    • </SCRIPT>

     

This code makes your Web page stay in its own full screen window.

http://docs.law.gwu.edu/facweb/claw/Kill’frames.htm

Best Practices for Speeding Up Your Web Site

Submitted by reader:

* Minimize HTTP Requests
* Use a Content Delivery Network
* Add an Expires or a Cache-Control Header
* Gzip Components
* Put Stylesheets at the Top
* Put Scripts at the Bottom
* Avoid CSS Expressions
* Make JavaScript and CSS External
* Reduce DNS Lookups
* Minify JavaScript and CSS
* Avoid Redirects
* Remove Duplicate Scripts
* Configure ETags
* Make Ajax Cacheable
* Flush the Buffer Early
* Use GET for AJAX Requests
* Post-load Components
* Preload Components
* Reduce the Number of DOM Elements
* Split Components Across Domains
* Minimize the Number of iframes
* No 404s
* Reduce Cookie Size
* Use Cookie-free Domains for Components
* Minimize DOM Access
* Develop Smart Event Handlers
* Choose over @import
* Avoid Filters
* Optimize Images
* Optimize CSS Sprites
* Don’t Scale Images in HTML
* Make favicon.ico Small and Cacheable
* Keep Components under 25K
* Pack Components into a Multipart Document

What is .htaccess, htaccess.txt files? Htaccess file tips and tricks. How to use htaccess file

This post about:
htaccess reference including many htaccess tips, tricks, and examples. Enhance the functionality of your site with htaccess rewrite and redirect rules. Prevent hotlinking, secure files.

What is HTACCESS file and how to use HTACCESS?

In several web servers (most commonly Apache), .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.[1] The original purpose of .htaccess was to allow per-directory access control (e.g. requiring a password to access the content), hence the name. Nowadays .htaccess can override many other configuration settings, mostly related to content control, e.g. content type and character set, CGI handlers, etc.

In the Apache web server, the format of .htaccess is the same as the server’s global configuration file;[2] other web servers (such as Sun Java System Web Server and Zeus Web Server) implement the same syntax, even though their configuration files are very different. Directives in the .htaccess file apply to the current directory, and to all sub-directories (unless explicitly disabled in the server configuration), but for reasons of performance and security, cannot affect their parent directories.

The file name begins with a dot because dot-files are by convention hidden files on Unix-like operating systems (find our more here: http://en.wikipedia.org/wiki/Htaccess)
.htaccess files lets you control the behavior of your site or a specific directory on your site. If you place an .htaccess file in your root directory, it will affect your entire site (www.webdesigncny.com). If you place it in a /content directory, it will only affect that directory (www.webdesigncny.com/about).

Using an .htaccess file, you can:

Customize the Error pages for your site.
Protect your site with a password.
Enable server-side includes.
Deny access to your site based on IP.
Change your default directory page (index.html).
Redirect visitors to another page.
Prevent directory listing.
Add MIME types.
.htaccess files are a simple ASCII text file with the name .htaccess. It is not an extension like .html or .txt. The entire file name is .htaccess.

Edit your .htaccess file using a plain text editor that doesn’t use word wrap.
Also .htaccess file will not work if it has these special characters in it.
Visit Apache’s (http://httpd.apache.org/docs/1.3/howto/htaccess.html) website for your info about .htaccess files

How to block IP by Country?
To block a country by ip address you can add code below to your .htaccess file. This htaccess file blocks access from selected countries by denying access for the IP range of the selected countriesIt also show selected Error page so user from blocked contry might see some user frendly information.

Why you might need to block contry IP?
If you are running a promotion for certain countries and you don’t want visitors from other country to see it.
Also if you are in e-commerce business and buyers from some country had very high chargeback cases, meaning they buy with their credit card and then inform their credit card company that they did not authorize the charge. The credit card company will then reverse the charges, allowing the buyer to get the intangible product for free by cheating.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request”.

To block a country’s IP using .htaccess you need to know the IP range for selected country.
See below example for your reference: htaccess – who to block by country.html