Fix Canonical Issues in IIS2018-06-14T21:07:21+00:00

Resolving Canonical URL issues in IIS

Fixing canonical URL issues in IIS will help prevent the search engines mistakenly indexing your pages twice and penalizing them as duplicate content.

If your site has a problem with canonical issues, you could be negatively affected in the search engines. A canonical issue with a website is when a search engine fails to realize that http://www.example.comand http://example.com are the same site, and then it indexes the same pages with two different URLs. The search engines then see these pages as duplicates of one another and may push them down in the search results.

If your site runs on a Windows server, a canonical issue is easy enough to fix with a 301 redirect through the Windows IIS interface. In this IIS tutorial, we will go through the steps to create a 301 redirect from a non-www URL to the www URL.

What is a 301 redirect going to do?

A 301 redirect will tell the search engines that the pages should be redirected to one URL type. This kind of redirect will also ensure that any link that inadvertently links to the wrong URL type will still be credited to the correct URL type – which will prevent search engine confusion and a potential drop in search engine results.

Follow this IIS tutorial on setting up a 301 redirect for canonical issues:

  1. Go to your IIS Manager and expand “local computer.”
  2. Right click the “Web Sites” folder and a dialogue box will appear.
  3. Select “New,” and then click “Web Site.”
  4. The “Web Site Creation Wizard” will appear. Click “Next.”
  5. In the “Description” box, type a name for your site, and then click “Next.”
  6. Enter or choose the IP address / TCP port for the main site
  7. For the host header, enter the opposite of the main host header. For example, if you wish to have your main URL to display as www.example.com and the www.example.com website is already set up, set the host header on this website to example.com (no www).
  8. Click “Next.”
  9. In the “Path” box, you can either choose the directory that contains the site’s content or you can create a new empty folder and choose that.
  10. Click “Next.”
  11. The next screen will be for the web site access permissions. You should not need to changes these, so just click “Next.”
  12. Click “Finish.”
  13. Now right click the newly created non-www web site, and select “Properties.”
  14. Go to “Home Directory.”
  15. Choose the radio button “A redirection to a URL.”
  16. Enter http://www.example.com (your main URL with the www) into the “Redirect to:” box.
  17. Choose the check box “A permanent redirection for this resource.”
  18. Click “OK.”
  19. Test that the non-www version of your web site now redirects to the www version.

If you are having problems in Yahoo or Google, canonical or otherwise, contact the search engine experts at The Search Guru today to get started!