Google searches

Google provides a neat search “hack” that enables you to find out how many pages have been indexed for a given site. By prepending site: to a search and adding the domain name, it gives you a peek into how many pages Google knows about. For example, type the following in a Google search engine:

Try above hack with and without www in the URL.

Google Webmaster Tools

Google provides a suite of tools called the Google Webmaster Tools ( After some configuration and verification, you will be able to use the tools to get a high-level snapshot of how Google views your site as well as tell Google to specifically not index specific pages. Notably, however, you can also tell Google which version (www or non www) of your site it should pay attention to.

* Note * Be very careful that you ensure that the choice you make in Google Webmaster Tools is identical to the WordPress address settings you choose in General Settings. If you tell WordPress one thing and Google another, you will prevent your site from being indexed.

Steps for setting up proper canonical URL redirection Now that you’ve decided which format of URL you want to be authoritative (say, the non-www version), you can get everything set up properly.


To set up the proper URL redirection for your site, follow these steps:

  • 1. Log in to the WordPress Admin.
  • 2. Click on the Settings menu or Expand the Settings menu and choose General.
  • 3. In the Blog Address field type your blog’s URL in the format
  • 4. Click Save Changes.
  • 5. Log in to Google Webmaster Tools at
  • 6. Click the plus sign next to Site Configuration to expand the Site Configuration menu.
  • 7. Click the Settings link.
  • 8. Under preferred domain, select the Display URLs as option.
  • 9. Click Save to complete the process.