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
-
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 -
Help getting a Wordpress.com site to rank
Hi all, I have a blog for my site, but it hasn't been integrated into our site yet (that will happen in the next few months when we do some site changes). For now, it sits on a Wordpress.com site, and links from my website. I post a couple times a week, have social media linked to it, and feed posts to aggregators regularly. I also comment and like other Wordpress.com sites, but it just isn't ranking. Do I just need to stay persistent? It's been up for a month now, but still only getting a few hits a day. Any advice?
Content Development | | b4cab0 -
How do I stop someone from hijacking my site?
I had lost a lot of search engine rankings & it almost put me out of business. I worked a lot on the site in April and in May my sales rebounded 37%+ almost back to where they typically are. I have blamed Panda and saw another Panda update in May and my traffic is declining again. Today I happened to decide to check what pages were being indexed and I also noticed that when I published an update this morning it said the page "<cite class="_Zd">www.cheaptubes.com/index2.asp</cite>" exists on the destination server but not in current site and it asked if I wanted to delete it. I said no at the time but am going to delete it right after this question. I went to google & put "site:cheaptubes.com" into the search. My website has about 50 pages but google has "About 2,160 results" @ 10X per page. The first four pages are mostly my pages but I noticed even on the first page, 3rd result was for Nike shoes and it isn't my site. Someone has hacked my site and put up over 21,000 pages! That must be the real reason behind my website problems, right? How do I stop this from happening again? Is this having the negative effect that I fear it is?
Content Development | | cheaptubes1 -
Does using Articlebase articles on your site push your rank down?
Hello All, I launched a website (www.hrpayrollsystems.net) last year. I'm very new to the SEO world so I'm still seeing what works and what doesn't. We recently republished some articles from articlebase.com that I think may have hurt us in SEO. Does Google see our site as having duplicate content and then penalize us? Our top keyword isn't even ranking anymore when I put it in the sites that tell you where you show up. Help!
Content Development | | HRISGuy0 -
Which is better for seo purposes? site/blog or site/community?
Hi Guys I was wondering if you could help on this one. We are in the process of setting up a wordpress blog for our website to aid our content marketing efforts, and was wondering what main url for this blog is going to be the best for seo purposes? So of the following 2 which one is going to be the better one? site.com/blog or site.com/community If anyone could get back to me on this I would appreciate it. Thanks David
Content Development | | DavidZA10 -
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 -
Site structure question
I'm doing a site that will have many many pages.
Content Development | | OxzenMedia
Now I have heard that you get more seo value if its a lower tear so for example: site.com/product rather than site.com/brand/subbrand/product Is this correct? Should I structure my site like this? site.com/product
site.com/brand points to site.com/product (so all products are on the sub root.) Does that make sense?0 -
Index.html vs. default.html
Hi, I have a website that is about 7 years old. I had been using index.html as the home page. When I redesigned my site about 3 months ago I changed it to default.html. The old index.html page was still on my server. I just realized my mistake. All of my links to the home page lead to the new default.html. However, people are still landing on the old index.html. I have change the old index.html to the new design but that means i have 2 "home" pages out there. Should i delete one? Should I leave them both there but use the canonical tag for one so it is not considered duplicate content? What is best for my rankings?
Content Development | | bhsiao0