Index pdf files but redirecto to site
-
Hi,
One of our clients has tons of PDFs (manuals, etc.) and frequently gets good rankings for the direct PDF link. While we're happy about the PDFs attracting users' attention, we'd like to redirect them to the site where the original PDF link is published and avoid that people open the pdf directly.
In short, we'd like to index the PDFs, but show to users the pdf link within a site - how should we proceed to do that?
Thanks,
GM
-
Thanks for the follow-up ... if it weren't for phrases like
- The page displayed to all users who visit from Google must be identical to the content that is shown to Googlebot.
I'd be quite comfortable with that ... in the meantime, however, I might try some pdf2html conversion tools to see if there is a viable way to present PDF-information on a HTML page and block the PDF link for robots.
Regards,
Gert
-
Hi Gret,
After further research, it might not be considered as cloacking that much as the Google First Click Free for Web Search system works the same way and check the HTTP referer.
For more details, read the official Google Webmaster Central blog post about it here :
http://googlewebmastercentral.blogspot.com/2008/10/first-click-free-for-web-search.htmlBest regards,
Guillaume Voyer. -
Thanks for your detailed reply, Guillaume,
I guess the possible "cloaking troubles" with this strategy are probably too risky for our project. However, I like the "click here" idea, we'll check if we can automate that somehow to drag users reading the PDFs back to our site.
-
Hi Gert,
Technically, this is not possible unless you use cloaking to display the PDF to the search engines and redirect the users to a different page.
What you could do to avoid cloacking is to include a banner at the top of your PDF with something like "Click here to see all our related PDFs" that would link to your website, this way users might be interested in going to your website.
Otherwise, you could detect the referer with htaccess and redirect the user to the user if he is coming from google, but this might be considered as cloaking. Here's an example :
RewriteEngine On
RewriteCond %{HTTP_REFERER} (.)google.(.)
RewriteRule ^pdf/(.*).pdf /pdf-list [R=302]If you are running a apache server and you put this in your .htaccess file, the first line activate mod_rewrite, the second line check if the referer matches anythinggoogle.anything and the third line redirect all .pdf files in the pdf folder to the /pdf-list page if the referer matches.
Best regards,
Guillaume Voyer.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Google Index Issue
2 months ago, I registered a domain named www.nextheadphone.com I had a plan to learn SEO and create a affiliate blog site. In my website I had 3 types of content. Informative Articles Headphone Review articles Product Comparision Review articles Problem is, Google does not index my informative articles. I dont know the reasons. https://www.nextheadphone.com/benefits-of-noise-cancelling-headphones/
Content Development | | NextHeadphone
https://www.nextheadphone.com/noise-cancelling-headphones-protect-hearing/ Is there anyone who can take a look and find the issues why google is not indexing my articles? I will be waiting for your reply0 -
Google won't index my website because "certain conditions" weren't met
I found the answer on this -- interestingly, I had changed registrars and they didn't pull over the DNS information correctly. This caused the above issues. Once I identified this, I updated the DNS correctly -- at registrar and server -- and things worked fine.
Content Development | | newbyguy0 -
Sitemap - 200 out of 2100 pages indexed
I submitted the .xml sitemap in Google Webmaster Tools and only 200 out of 2100 pages were indexed.
Content Development | | Madlena
Why is that and what can I do ?0 -
How do you rank a site in a very competitive market?
Do you focus on article submission, social media backlinks or what?
Content Development | | shauna70840 -
Does a publicly available PDF embed impact Uniqueness
Hi, If I embed a copy of a pdf document that is freely available and distributable on my web page, will it impact the uniqueness of my web page? This is assuming that the rest of the content is unique and of reasonably high quality. Also, the pdf is uploaded in my web host server, not directly linked to the original source.
Content Development | | dwautism0 -
Am I spreading my content & site thin?
I have a video section on my site. Basically I am filtering quality videos for my readers to check out. The videos are pretty much all embedded youtube/vimeo vids. There are a few categories, which are pretty niche-y in relation to my readers. In general they probably aren't seen as too relevant to the overall content on my site... Is it a mistake to keep these videos up? Could they be messing up my rankings since they aren't necessarily in line with the rest of the content on my site?
Content Development | | PedroAndJobu0 -
Can I share share my content with other sites either as a individual post or RSS or will I be encourage duplicate content on the web and upset Google
Hi, I have a new site http://www.homeforbusiness.co.uk. I want to encourage traffic to the site by sharing some of my content with other related websites which have a higher PR ranking and traffic for a link to my site. Is this going to upset Google re-duplicate content and devalue my site and stop any organic rankings in the future? Equally some high PR sites which have a good synergy with mine such as http://thewomensbusinessclubs.com/ allow me to add my RSS feed with their blog network. Is this a good thing to do or not for the same reasons as above? Or can I only do the above my creating fresh content? Thanks, Elizabeth Conley
Content Development | | econley0 -
Setting up a Blog for an e-commerce site
Hi All, I need some pointers on setting up a blog for our new e-commerce site. The new site uses magento and is going live in a month or so. This is a bit of a learning experience for me as I have never set a company blog up before I am not sure of the do's and dont's. Any ideas will be very appreciated. Cheers Nic
Content Development | | nicc19760