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 -
Content Duplication Issue On Content Publishing Site
I am running Free Article Posting site but I discover people are posting their content which already has been published on different sites before. What should i need to do in order to save my site from Google penalty.3 waiting for your kind help in this regard Thanks in advance
Content Development | | Mustansar0 -
Blog.site.com vs site.com/blog
Which is better for SEO: blog.site.com or site.com/blog. In other words, is it better to have the blog running in a subdomain or as a director within the main site? Right now we are running as a subdomain, but want to be sure Google isn't considering that a separate site. The blog shows up separately on Google Analytics, which makes me think site.com/blog is better if for no other reason, it would give our domain greater traffic. Not sure if this matters, but some site info: our site is a sharing economy tool for renting your stuff we are running the blog on Wordpress blog traffic is about 5% of total traffic
Content Development | | TapGoods0 -
Would adding a news page hurt my site ranking ?
Hi Mozers I was thinking about adding an industry news page where we would post articles written by others but give proper citation and linking. Would a page like this hurt my SEO ? Thank You
Content Development | | Pzabarko0 -
Ecommerce site content upgrade timescale.
I have been upgrading my sites content and structure and I have been wondering how long I should wait for a traffic increase before I should think it has been a failure and try a new plan of attack?
Content Development | | mark_baird0 -
Will our two retail sites get hit with duplicate content?
Our retail site just rolled out a second online store. The URL is new and it is showing some of the same products from the same vendors (probably about 40% of the fist store is in the second store). Down the road, we will remove the products from the first site, however, we are keeping it for now. The products show up on both sites, with the same images, and the same descriptions and almost the same URL query string. Are we going to get hit with any penalties due to duplicate content?
Content Development | | klmarketing0 -
Fresh content ideas for a static site?
I have an ecommerce site. My home page is set-up just as I want it. I'm not looking to redo it or change my site to a blog. Just looking for some new, different, SEO friendly ideas or concepts to keep it "fresh".
Content Development | | VictorVC0 -
How to organize content for ecommerce site
Hello, We've decided to create 24 articles of content for our ecommerce site, everything from an FAQ to history of the products to 10 articles on the top 10 products. Really useful to the user. How do you suggest that we make our content visible to the users? We could put a nice button on our right banner that says "Extensive Help Session" or we could put a banner on our home page or we could make it a tab at the top of the screen. We could additionally make a well organized footer with links to the articles. Or we could do all of those but that might be overkill. What do you suggest?
Content Development | | BobGW0