10 Tips in Search Engine Optimization

Posted by on Aug 21, 2009 in SEO | 0 comments

Search engine optimization, 10 great tips that will initiate webmasters and beginners in this section. Learn how to promote your website easy.

Be bold. Use <b> </b> tags around some keywords on each page, for example you can use bold for titles.  Do not use bold tags in excessive way.

Deep linking. Make sure you have links coming in to as many pages as possible. Deep links tells a search engine when other web sites are linking to different pages on your site that you have lots of worthwhile content.

Become a foreigner. Canada and the UK have many directories for websites of companies based in those countries.

Newsletters. Offer articles to ezine publishers that archive their ezines. The links stay live often for many years in their archives.

First come, first served. If you must have image links in your navigation bar, include also text links. However, make sure the text links show up first in the source code, because search engine robots will follow the first link they find to any particular page. They won’t follow additional links to the same page.

Multiple domains. If you have several topics that could each support their own website, it might be worth having multiple domains. Why? First, search engines usually list only one page per domain for any given search, and you might warrant two. Second, directories usually accept only home pages, so you can get more directory listings this way. Why not a site dedicated to gumbo pudding pops?

Article exchanges. You’ve heard of link exchanges, useless as they generally are. Article exchanges are like link exchanges, only much more useful. You publish someone else’s article on the history of pudding pops with a link back to their site. They publish your article on the top ten pudding pop flavors in Vietnam, with a link back to your site. You both have content. You both get high quality links. (More on high quality links in other tips.)

Titles for links. Links can get titles, too. Not only does this help visually impaired surfers know where you are sending them, but some search engines figure this into their relevancy for a page.

Not anchor text. Don’t overdo the anchor text. You don’t want all your inbound links looking the same, because that looks like automation – something Google frowns upon. Use your URL sometimes, your company name other times, “Gumbo Pudding Pop” occasionally, “Get gumbo pudding pops” as well, “Gumbo-flavored pudding pops” some other times, etc.

Site map. A big site needs a site map, which should be linked to from every page on the site. This will help the search engine robots find every page with just two clicks.

Read More

Display number of posts from database in WordPress

Posted by on Aug 20, 2009 in Wordpress | 0 comments

WordPress does not have a function to do that by default, but with a little work you can get this example. With this code actualy whe will learn wordpress what to count, and to print how many posts are in database.

We are using the $wpdb object to make a custom query to WordPress database:

<?php $numposts = $wpdb->get_var(“SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = ‘publish’”);if (0 < $numposts) $numposts = number_format($numposts);?>

The $numposts variable contains the total number of posts. All whe have to do is to display it ( in sidebar, in content, etc.. ).

<?php echo $numposts.’ has been published in database’; ?>

Read More

Google introduces new enterprise search tools

Posted by on Aug 20, 2009 in Web Design & Development | 0 comments

 

Google is already a player in the enterprise sector but it is still rather small compared to established companies like Microsoft. One aspect where it’s doing better than average is, not surprisingly, in the enterprise search market. It’s been steadily gaining customers, now at around 25,000, and many of them use its custom hardware offering, the Google Search Appliance (GSA). Now the company is launching two new tools, a Side-by-Side search comparison and new connectors for the GSA.

“People use search to find what they need, and the same holds true in the business world. We want searching your company intranet to be comparable to searching on Google.com, and the Google Search Appliance (GSA) to have the most relevant, high quality results possible,” Michael Parker and Salmaan Rashid, from Google’s Engineering team, wrote. “That’s why today we’re announcing two new tools for Google Enterprise Search: Side-by-Side search comparison and new connectors for the GSA, both in Enterprise Labs.”

The Side-by-Side search tool, now available in the Enterprise Labs, lets administrators test and compare search results using different search engine settings or even different search engines altogether. For example, admins can set up one panel to show results coming from the search engine the company may be using at the time and the other to show results coming from the GSA. Or they might set them up to test different configurations of the GSA.

The users are presented with two adjoining panels, each with a different set of results but with the interface looking identical, so they can’t tell where the results are coming from. This should provide admins with real-world data on what results are the most relevant as the users can vote on the ones they found more helpful.

The other announcement today is the new or updated connectors for the GSA. Connectors allow different systems used by enterprises for data management to work together and Google’s solutions allow the GSA to search data across a variety of platforms and sources. All major content management systems are getting updated connectors and there is also a new one launched for Salesforce data.

Read More

WP: display posts from specific categories

Posted by on Aug 7, 2009 in Wordpress | 0 comments

With one simple code, wordpress can display posts from specific categories. WordPress can be modified to actually behave like a very expensive tool and application. Many peoples that use wordpress and actually write daily news and articles in blogs are so called “plugins fans”. Yes plugins are quite interesting and helpful but in many times, installing more plugins can make the blog to load and behave very slow.

The idea of this post is that I can give you an example to use an simple code, instead of an fancy plugin that will cause to load the page very slow, it can be modified very easy using stylesheet.

<?php $recent = new WP_Query("cat=1&showposts=3");
while($recent->have_posts()) : $recent->the_post();?>
<li>
<a href="<?php the_permalink() ?>" rel="bookmark"
title="<?php the_title(); ?>">
<?php the_title(); ?>
</a>
</li>

<?php endwhile; ?>
</ul>

Explications:
In the code you will find WP_Query:
cat= is for number of the category;
showposts= number of the post that will be displayed from this category.

Read More

WP: insert images in wordpress template

Posted by on Aug 7, 2009 in Wordpress | 0 comments

Display automaticaly images in wordpress template without “/wp-content/themes/the_theme” In wordpress theme coding becouse of the css stylesheet and the order of the template, images inserted into html files must have the precise like:

wp-content/themes/your-theme/images/image.png

This problem can be solved very easy in an elegant way, by replacing “wp-content/themes/the_theme” patch with:

<?php bloginfo('template_directory'); ?>/images/midCol/search.png

You can integrate it like:

 
<img src="<?php bloginfo('template_directory'); ?>
/images/post/comment.png" alt="comment" width="20" height="20">
Read More