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

    Join Date
    Mar 2013
    Posts
    9
    Rep Power
    0

    OK I’m confused. I need rel=“canonical” Headers in htaccess pointing to PDF


    So I have an exact PDF and HTML duplicate for each file. I want to say the PDF should be the preferred indexed file in the Search results. AKA the PDF should be canonical. Right? Thanks for any light. FYI I have 100 PDFs so htaccess headers is prob best. Alternatively I could simply put the link in the html file pointing to the pdf. But headers seems better to me unless you experts think otherwise?

    Most sites say to use this...

    <Files “abc-name.html”>
    Header and Link “<htttp://www.site.com/folder1/folder2/abc-name.pdf>; rel=”canonical””
    </Files>

    Google says to use this...

    Link: <http://www.example.com/downloads/white-paper.pdf>; rel="canonical"
  2. #2
  3. No Profile Picture
    Moderator
    SEO Chat Skiller (1500 - 1999 posts)

    Join Date
    Sep 2016
    Location
    USA
    Posts
    1,917
    Rep Power
    2962
    Let me offer a different viewpoint...

    I tend to think of a PDF as a collection of text snippets, with embedded graphics, aka pictures. I would create content pages for the graphics with surrounding text to describe each with relevant text.

    So in the same sense, I would create content pages describing what each pdf is about. Include the download link for each pdf on its' appropriate page.


    In addition...

    If you own the pdf content and can change it when you want...

    Sorta treat it as a webpage itself.

    Give it an SEO Optimized Title
    Have the content link back to the hosting site
    Describe the pictures inside it with rich alt text

    Google will connect the two together

Similar Threads

  1. A little confused with the Canonical tag
    By Contra in forum Google Optimization
    Replies: 5
    Last Post: Feb 1st, 2013, 02:08 PM
  2. .htaccess canonical 301 redirects
    By NathanielB in forum Search Engine Optimization
    Replies: 7
    Last Post: Nov 8th, 2012, 11:34 AM
  3. Supporting rel="canonical" HTTP Headers
    By bkseo in forum Search Engine Optimization
    Replies: 0
    Last Post: Nov 9th, 2011, 05:07 PM

IMN logo majestic logo threadwatch logo seochat tools logo