#1
  1. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jan 2009
    Posts
    94
    Rep Power
    12

    Is this a canonical issue?


    Hello.

    my site has pr3 on the address www.domian.co.uk

    it also has pr1 on the address www.domain.co.uk/index.asp

    Can i make this pr1 go and add itself onto the pr3?

    Is this something to do with canonical issues I've heard being thrown about?

    Cheers
  2. #2
  3. Twitter: @barlow1984
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Sep 2009
    Location
    Leek, UK
    Posts
    791
    Rep Power
    103
    I'll ignore that you spelt them differently

    But as far as I know you should be able to set this up on your webserver to go to the correct cononicalization of the URL. Or you could use the canonical tag on your homepage as a quick fix. This should direct your link juice to 1 URL instead of the 2.
  4. #3
  5. No Profile Picture
    Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Aug 2007
    Location
    England, Great Britain, United Kingdom
    Posts
    166
    Rep Power
    15
    Google will see...

    http://domain.co.uk/page
    http://domain.co.uk/page/
    http://www.domain.co.uk/page
    http://www.domain.co.uk/page/
    http://www.domain.co.uk/page/index.html
    http://www.domain.co.uk/page/index.htm
    http://domain.co.uk/page/index.htm
    http://domain.co.uk/page/index.html

    All as different pages!

    The colonial tag will help, but it is so easy to avoid the problem by just sticking to one URL by good site design and structure.

    If your homepage link says /index.asp just make it say /
    I have seen other websites with only 10 pages crawled with sitemap generators resulting in 50+ pages. Lots of duplicates just a different link to the same page.

    I think Google is inteligent enough to see the mistake however Google webmaster tools reports / and /index.htm and /index.html so I take that as evidence that it doesnt like it.
  6. #4
  7. Super Moderator
    SEO Chat Genius (4000 - 4499 posts)

    Join Date
    Aug 2004
    Location
    Calgary
    Posts
    4,033
    Rep Power
    920
    You should have two redirects in your htaccess file one to redirect non - www to www version, and one to redirect index.asp to / version. YOu could use th canonical tag, but that's not nearly as trustworthy as a server redirect.

    So it would look something like this:

    Code:
    <Files .htaccess>
    order allow,deny
    deny from all
    </Files>
    
    RewriteEngine On
    
    RewriteCond %{HTTP_HOST} ^domain\.com$ [NC] 
    RewriteRule ^(.*)$ http:// www.domain.com/$1 [R=301,L] 
    
    Redirect 301 /domain.com/index.asp http://www.domain.com/

    Comments on this post

    • NathanielB agrees : I was putting something like that at the same time :)
  8. #5
  9. Busting SEOChat Spammers!
    SEO Chat High Scholar (3500 - 3999 posts)

    Join Date
    Jul 2009
    Location
    UK - Kent - Maidstone - PC!
    Posts
    3,752
    Rep Power
    1488
    Yer G have said they can see the difference from this type of error and dup content on different domains so it shouldn't do you any harm but it is best to do a serverside redirect and put your prefered url in webmaster tools.

    barlow1984
    I'll ignore that you spelt them differently
    what do you mean?
  10. #6
  11. Contributing User
    SEO Chat Super Genius (4500 - 4999 posts)

    Join Date
    May 2007
    Posts
    4,515
    Rep Power
    1986
    Running asp, most likely you are on a windows based server (this may not be the case, please correct me if wrong), and as such, you will not be able to 301 redirect using the htaccess methods discussed above.

    The problem with Windows servers is that it creates an endless loop when you try to redirect the index.asp file to the root directory.

    I would say the best thing to do here is to analyze your links to see if any internal links point to the index.asp file, and change them to the root directory (this is where most external links will point to, so it's the best to use in most cases). Once you have all your links changed, put the canonical tag into your index file's header.

    This should clear things up for the next toolbar PR update.

    Comments on this post

    • googler agrees
  12. #7
  13. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jan 2005
    Location
    Internet
    Posts
    34
    Rep Power
    15
    You can use following code in .htaccess file

    <Files .htaccess>
    order allow,deny
    deny from all
    </Files>

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^domain\.com
    RewriteRule ^(.*) http://www.domain.com/$1 [R=301,L]

    RewriteEngine on
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/
    RewriteRule ^index\.html$ http://www.domain.com/ [R=301,L]

    Both non www and /index.html pages will redirect to www.domain.com. I hope it will help you.

    UPDATE: Sorry, I misunderstood the post.

    Comments on this post

    • jsteele823 : Way to ignore the OP - it's .asp. Not to mention this idea has already been posted by djstreet
    Last edited by Manpasand; Sep 24th, 2009 at 12:58 PM.
  14. #8
  15. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jan 2009
    Posts
    94
    Rep Power
    12
    Thanks for the help.

    I did spell one 'domain' and one 'domian'...

    I will ask someone who knows about this stuff to help me... a bit over my head.

    I did use that preference thing in google with regards to prefer www.domain.co.uk to domain.co.uk.

    It just seems that the index.asp version has a different PR so it must be coming from somehere else.

    It was the programmers fault re: two different homepages. We did ask him time and again to fix it and he said he did.

    C'est la vie.
  16. #9
  17. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Jan 2009
    Posts
    94
    Rep Power
    12
    Originally Posted by jsteele823
    Running asp, most likely you are on a windows based server (this may not be the case, please correct me if wrong), and as such, you will not be able to 301 redirect using the htaccess methods discussed above.

    The problem with Windows servers is that it creates an endless loop when you try to redirect the index.asp file to the root directory.

    I would say the best thing to do here is to analyze your links to see if any internal links point to the index.asp file, and change them to the root directory (this is where most external links will point to, so it's the best to use in most cases). Once you have all your links changed, put the canonical tag into your index file's header.

    This should clear things up for the next toolbar PR update.
    I will have to check... I thought it was linux but it might be windows.

    But I will I have word with the programmer with all these ideas and see what can be done.

    Cheers!
  18. #10
  19. No Profile Picture
    Banned
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Apr 2009
    Location
    Las Vegas, Nevada, USA
    Posts
    25
    Rep Power
    0
    Use 301 redirect. It's much better than using canonical tag. Plus it will preserve your PR.
  20. #11
  21. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Sep 2009
    Posts
    4
    Rep Power
    0
    always use a 301, it's the first thing i do when setting up a new site

    RewriteEngine on

    -easy!!
  22. #12
  23. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Sep 2009
    Posts
    4
    Rep Power
    0
    sorry, tried to put some code in my previous post but as i'm a new poster i'm not allowed-poo

    Comments on this post

    • jsteele823 agrees : (0) - Post it using the code tags [code]code here[/code]
  24. #13
  25. Super Moderator
    SEO Chat Super Hero (2500 - 2999 posts)

    Join Date
    Aug 2003
    Location
    Vancouver, Washington, U.S.A.
    Posts
    2,578
    Rep Power
    669
    Originally Posted by tony_stark
    Thanks for the help.

    I did spell one 'domain' and one 'domian'...

    I will ask someone who knows about this stuff to help me... a bit over my head.

    I did use that preference thing in google with regards to prefer www.domain.co.uk to domain.co.uk.

    It just seems that the index.asp version has a different PR so it must be coming from somehere else.

    It was the programmers fault re: two different homepages. We did ask him time and again to fix it and he said he did.

    C'est la vie.
    let us know the programming behind the server as that will help make a final determination of your best long term solution here.
    Work Smarter, Not Harder
  26. #14
  27. Super Moderator
    SEO Chat Genius (4000 - 4499 posts)

    Join Date
    Aug 2004
    Location
    Calgary
    Posts
    4,033
    Rep Power
    920
    IIS servers can be redirect with a 301 but it takes some fancy point and clicks.....

Similar Threads

  1. Why high ranking at google, low ranking at yahoo!
    By xhtc in forum BING/Yahoo Search Optimization
    Replies: 22
    Last Post: Jun 12th, 2007, 02:45 PM
  2. At What Point Does The Dupe Content Issue Arise?
    By KAMaster in forum Google Optimization
    Replies: 2
    Last Post: Dec 7th, 2006, 12:21 PM
  3. Potential serious security issue found with my host
    By tyler_durden in forum SEO Help (General Chat)
    Replies: 0
    Last Post: Mar 14th, 2006, 08:39 PM
  4. Somebody define a canonical link?
    By crxvfr in forum Google Optimization
    Replies: 10
    Last Post: Oct 21st, 2005, 02:49 PM

IMN logo majestic logo threadwatch logo seochat tools logo