Link-building screw up. Can "link rel="canonical"" fix it?

9 replies
  • SEO
  • |
Hi, One of my sites had about 150 links built to it through index.php instead of the main domain URL.

Instead of http://amazingnycprinting.com, it was built to http://amazingnycprinting.com/index.php


In an attempt to fix it, I added link rel="canonical" between the head tags on index.php. Is that the right way to make sure I get all the link juice to the main domain?

How long does it take to fix it self?

Thanks guys
#fix #link relcanonical #linkbuilding #screw
  • Profile picture of the author HassanAjmal
    bumpity bump
    {{ DiscussionBoard.errors[3542795].message }}
    • Profile picture of the author nikmatbersama
      yes, it needs to be repaired ... and time to let it go naturally
      {{ DiscussionBoard.errors[3542840].message }}
      • Profile picture of the author HassanAjmal
        Originally Posted by nikmatbersama View Post

        yes, it needs to be repaired ... and time to let it go naturally
        That tag should fix it, right?
        {{ DiscussionBoard.errors[3545030].message }}
        • Profile picture of the author raviv
          Hey Hassan,
          rel=canonical tag is more appropriate in the case of, say, product pages with lots of variations when you use filters like sorting by size, color, price etc. Such filtered pages can have the rel=canonical tag to point to the parent category page.

          In the case of yoursite dot com/index.php and yoursite dot com, you have two distinct versions of the home page. So the link juice to your site gets divided between these two versions and pagerank gets diluted.

          If you know how to edit the .htaccess file (assuming your site is hosted on a Linux server), you can specify a 301 redirect from yoursite.com/index.php to yoursite.com

          An example for you to have a look.

          Hope this helps
          Best
          Raviv
          {{ DiscussionBoard.errors[3545068].message }}
          • Profile picture of the author HassanAjmal
            Thanks man
            {{ DiscussionBoard.errors[3548098].message }}
          • Profile picture of the author Jonathan Beaton
            Originally Posted by raviv View Post

            Hey Hassan,
            rel=canonical tag is more appropriate in the case of, say, product pages with lots of variations when you use filters like sorting by size, color, price etc. Such filtered pages can have the rel=canonical tag to point to the parent category page.

            In the case of yoursite dot com/index.php and yoursite dot com, you have two distinct versions of the home page. So the link juice to your site gets divided between these two versions and pagerank gets diluted.

            If you know how to edit the .htaccess file (assuming your site is hosted on a Linux server), you can specify a 301 redirect from yoursite.com/index.php to yoursite.com

            An example for you to have a look.

            Hope this helps
            Best
            Raviv
            This is the best answer.^

            In this situation the canonical is a lazy fix and you will be much better of using a 301.
            {{ DiscussionBoard.errors[3548119].message }}
  • Profile picture of the author sijugk
    Originally Posted by HassanAjmal View Post

    Hi, One of my sites had about 150 links built to it through index.php instead of the main domain URL.



    Thanks guys

    The best way to transfer PR flow to domain name is by a 301 redirection from index.php to the domain name itself.
    {{ DiscussionBoard.errors[3545041].message }}

Trending Topics