Submit Your Article Forum Rules

Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Canonical Domain Question

  1. #1
    Senior Member PhilipDunn's Avatar
    Join Date
    Mar 2008
    Location
    Pinehill NM
    Posts
    409

    Canonical Domain Question

    I've read many threads about the importance of making sure that PR flows to a canonical URL, and to ensure that you are not dividing it among URL's. My question is, exactly how do you do that?
    I now have a site that has an index.htm and an index.html. The main Domain, blank.com, defaults to the index.html. But if you click on the home page tab, you are taken to blank.com/index.htm

    How is the PR being handled?

    I think I've heard that blank.com and blank.com/index.whatever are different pages to search engines.

    I've made a few changes already, but would like opinions on how to handle this..

    thanks,

  2. #2
    Administrator weegillis's Avatar
    Join Date
    Oct 2003
    Posts
    5,785
    Canonical tags are intended to funnel multiple dynamic URL's to a single, fixed URL. Say for instance you have several hundred dynamic pages all leading from /directory/?id=xxxx. These URL's all have /directory/index.php as a common root page, so they are splitting the PR over hundreds of URL's, rather than the one.

    In the case of static pages, Canonical tags are of little use. For this, I would recommend server redirects to funnel all possible configurations of the host URL down to one, www.example.org/.
    Last edited by weegillis; 10-01-2011 at 01:59 PM. Reason: /

  3. #3
    Senior Member PhilipDunn's Avatar
    Join Date
    Mar 2008
    Location
    Pinehill NM
    Posts
    409
    thanks for clearing this up weegillis. so would you be saying redirect to the index pages to the main domain, blank.com?

  4. #4

  5. #5
    Senior Member PhilipDunn's Avatar
    Join Date
    Mar 2008
    Location
    Pinehill NM
    Posts
    409
    That is actually what I did. I don't know why there were two created. I was just wondering if that is going to affect rankings, since the home page has been using the index.html page for a few years. Both pages, .html and .htm are identical. Now the .htm page is being used as the index.

  6. #6
    Administrator weegillis's Avatar
    Join Date
    Oct 2003
    Posts
    5,785
    The redirect would be applied only on the host domain, and its index.xxxx page:

    //../;
    //../index.xxxx;
    //www. .. /index.xxxx

    would all be redirected to http://www. .. /

    As for placing of Canonical tags. they would only be applied to the root page of the dynamic catalogue.

    Eg. This page is always served up for all requests, regardless the query string. In order to keep the dynamic pages from leaking PR, and more importantly to prevent indexing multiple pages of the same thing except a line or two, the tag is added:

    HTML Code:
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Canonical tag</title>
    ..
    <link href="/css/webform.css" rel="stylesheet">
    <link href="http://www.example.org/courses/register.php" rel="canonical">
    <link href="/favicon.ico" rel="icon" type="image/vnd.microsoft.icon">
    <link href="/favicon.png" rel="icon" type="image/png">
    ..
    </head>

  7. #7
    Senior Member PhilipDunn's Avatar
    Join Date
    Mar 2008
    Location
    Pinehill NM
    Posts
    409
    thanks weeg...

  8. #8
    Administrator weegillis's Avatar
    Join Date
    Oct 2003
    Posts
    5,785
    Quote Originally Posted by newoptimizer View Post
    That is actually what I did. I don't know why there were two created. I was just wondering if that is going to affect rankings, since the home page has been using the index.html page for a few years. Both pages, .html and .htm are identical. Now the .htm page is being used as the index.
    If HTML page has been used for years, then it is probably in the index. Switching to HTM now, even if it does exist, would not be a good idea, especially if it is NOT in the index. Canonicalization of your site's root, and of folder roots will clear up this inconsistency, anyway, as the folder root, regardless of extension, will always open. Just be sure that you don't have multiple index pages with different extensions, or the server will always serve up index.html or .htm first, and not .php, etc.

    Redirecting into a funnel all possible URL's for a single resource is the ideal way to ensure that everyone sees the identical content, and all the PR channels into the one URI. This is more or less what is meant by the term, canonicalization. In normal circumstances it is applied through server redirects. In special instances, such when you don't to want deny access to an actual URL, the canonical tag may be used. It should be noted, THIS IS NOT A REDIRECT.
    Last edited by weegillis; 10-01-2011 at 06:43 PM.

  9. #9
    Senior Member PhilipDunn's Avatar
    Join Date
    Mar 2008
    Location
    Pinehill NM
    Posts
    409
    I appreciate all your efforts here Weegillis,

    I guess this takes me back to my original question, how do you canonicalize your site's root? When there are two index pages in the main directory and it defaults to the index.html page over the index.htm.

    On another note, it appears to no longer be an issue for this site, as I've just discovered that index.html isn't even in the index. Only the index.htm can be found in google.

  10. #10
    WebProWorld MVP deepsand's Avatar
    Join Date
    May 2004
    Location
    State College, PA
    Posts
    16,446
    In the <head> of the page that you do not want indexed under its own name, put the following:

    Code:
    <link rel="canonical" href="Desired_URL_Here" />
    For example, if you wanted both instances of your index pages to be treated as index.htm, then put this into the <head> of index.html:

    Code:
    <link rel="canonical" href="http://www.Your_Domain_Name.TLD/index.htm" />
    The same can be used to force variations with and without the "www" prefix to be indexed according to your preference.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •