#1
  1. No Profile Picture
    Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Jul 2018
    Posts
    104
    Rep Power
    0

    Exclamation CDN pages get indexed


    I have read a lot of posts around this and I am not sure what is the correct approach about this.
    The problem is that for one domain and it's normal indexed pages there are also many related cdn pages that have been indexed.

    I understand that the canonical tag should be the solution, but then we have the problem of the different languages.
    So, let's set an example.
    Our original domain is: Example Domain and the cdn domain is cdn0.example.com
    Under this cdn domain there are subpages, like: cdn0.example.com/categories/typea and each one has different versions for every locale:
    - cdn0.example.com/categories/typea?locale=en-EU
    - cdn0.example.com/categories/typea?locale=es-ES
    - cdn0.example.com/categories/typea?locale==fi-FI
    So logically the canonical for all these above should be the: cdn0.example.com/categories/typea

    But what about the original domain Example Domain.
    How should all the previous be connected to the original one?

    Maybe a robots file would be the solution after all?
    cdn.yourdomain.com/robots.txt
    With a parameter of : Disallow: /
  2. #2
  3. No Profile Picture
    Moderator
    SEO Chat Super Hero (2500 - 2999 posts)

    Join Date
    Sep 2016
    Location
    USA
    Posts
    2,796
    Rep Power
    3464
    You are making this way more complicated than it needs to be.

    1. Take the CDN out of the equation for a moment.

    2. Now optimize your pages properly for language, using hreflang tags and canonicals.

    Now hook up your cdn. Done

    The hreflang and canonicals on the pages will tell Google what is what. The cdn is just a fast delivery network, got it ??? Basically you just need to forget the cdn is there.
    If you have never failed in your life, you have never achieved anything Noteworthy !
  4. #3
  5. No Profile Picture
    Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Jul 2018
    Posts
    104
    Rep Power
    0
    Well I know what is the purpose of using the CDN and I understand that while using such pages, they shouldn't get indexed. Right?

    So, getting back to the problem.
    All the things that you have mentioned are there. But what is the correct canonical in this case for the CDN pages?
  6. #4
  7. No Profile Picture
    Moderator
    SEO Chat Super Hero (2500 - 2999 posts)

    Join Date
    Sep 2016
    Location
    USA
    Posts
    2,796
    Rep Power
    3464
    I am going to explain this to you one more time.

    You create a website, example.com

    Your home page is example.com/index.php.

    On example.com/index.php you include a canonical to example.com. So all link juice to the index.php page goes to the website >>> example.com

    Now for the sake of speed you put example.com on a cdn.

    But what is the correct canonical in this case for the CDN pages?
    Now the correct canonical for cnd.example.com/index.php >>>>> example.com

    Now do you understand. The canonical for the web page and the canonical for the cdn page are the same. Because they are the same page.

    Like I said, pretend there is no CDN and then ask yourself, what is the correct canonical for a page and you have your answer.

    Do you understand now ???

    You want the cdn version of the page to deliver the juice to the regular page.

    example.com/ -> example.com
    example.com/index.php -> example.com
    edn.example.com/index.php -> example.com
  8. #5
  9. No Profile Picture
    Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Jul 2018
    Posts
    104
    Rep Power
    0
    Thanks for your time to post this, but you have mentioned things that are already known.

    You didn't added anything extra about the real question.

    What is happening with the different locale versions of the cdn urls? Where should they target with their canonical?

    Should it be like this in terms of canonicals?

    cdn0.example.com/categories/typea?locale=es-ES -> cdn0.example.com/categories/typea -> example.com/categories/typea
  10. #6
  11. No Profile Picture
    Moderator
    SEO Chat Super Hero (2500 - 2999 posts)

    Join Date
    Sep 2016
    Location
    USA
    Posts
    2,796
    Rep Power
    3464
    As i stated in my 1st response to you...

    You are making this way more complicated than it needs to be.


    1. Take the CDN out of the equation for a moment.


    2. Now optimize your pages properly for language, using hreflang tags and canonicals.
    The answer is still the same. The cdn makes no difference on how you should optimize the pages for locale.

    You do know what hreflang tags are for, right ?

    Go read this article >>>> https://moz.com/blog/hreflang-behaviour-insights

Similar Threads

  1. Does more indexed pages give less link juice to my current pages?
    By jozomannen in forum Search Engine Optimization
    Replies: 2
    Last Post: Sep 9th, 2014, 10:22 AM
  2. Replies: 4
    Last Post: Jun 21st, 2013, 03:53 AM
  3. Replies: 1
    Last Post: May 7th, 2008, 02:13 AM
  4. Mostly Un-indexed, indexed pages have incorrect URLs
    By jvanv88 in forum Google Optimization
    Replies: 4
    Last Post: Oct 12th, 2006, 04:18 AM
  5. Pages being indexed and de-indexed CONSTANTLY
    By Apache1127 in forum Google Optimization
    Replies: 1
    Last Post: Aug 2nd, 2006, 10:53 AM

IMN logo majestic logo threadwatch logo seochat tools logo