Keyword

print=1&tmpl=component - Google duplicate index

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
14 years 9 months ago #77058 by BBC
I got these "?print=1&tmpl=component" at the end of my links and Google is complaining about duplicate meta description.

Actually it is not Google advices that is worrying me, but fact that when someone is finding my site thru Google, Google leads them to that ugly print page. It is not very professional.

Is there a way to ad "nofollow" for print, etc? Everything except clean article. To make it simple, i want Google to leads (and index) visitors only to real article, not to print page. It is really ugly and not professional.

(Will put it under "bugs". It is something to be considered)

Please Log in or Create an account to join the conversation.

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
14 years 8 months ago #77059 by BBC
Is there anyone to answer this, please? It is important. Developers say that "print" has nofollow and noindex, but obviously it is not the case. Google is indexing that ugly print page.

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #77060 by Lefteris
Hi. If you want to add nofollow to rel attribute you can do it in your template files. Of course this will break the modal so you have to use a classic js popup (or a different modal, it's up to you).

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
14 years 8 months ago #77061 by BBC
Man, if i only knew what you are talking about. Will try to pay my good friend Google to find out. Thank you anyway.

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #77062 by Ivo Apostolov
Replied by Ivo Apostolov on topic print=1&tmpl=component - Google duplicate index
register in google webmaster tools and add the variable print into those who are ignored.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #77063 by B_Dark
You don't need to hack the core files of K2 for this.

Just put this in your robots.txt file:

Disallow: /*/item/*.html?tmpl=component&print=1

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #77064 by Nathan Cowen
Replied by Nathan Cowen on topic print=1&tmpl=component - Google duplicate index
I have added this to my robots.txt file.  However, when I right click the print button and select open link in new window, then I view the page source I still have the following in my source code. 

 


meta name="robots" content="index, follow"

Does this mean that this page is still being indexed? I have also tried hard-coding a rel="nofollow" in item.php print url, but it does the same thing.
B_Dark said:

You don't need to hack the core files of K2 for this.

Just put this in your robots.txt file:

Disallow: /*/item/*.html?tmpl=component&print=1

Please Log in or Create an account to join the conversation.

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
13 years 6 months ago #77065 by BBC
It is fixed in 2.5 SVN.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #77066 by Odin Mayland
Replied by Odin Mayland on topic Re: print=1&tmpl=component - Google duplicate index
I'm using K2 v2.6.2 on Joomla! 2.5.8 and still have the duplicate issue per GWT.

Attachment not found

Attachments:

Please Log in or Create an account to join the conversation.

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
11 years 8 months ago #77067 by BBC

modernmagic wrote: I'm using K2 v2.6.2 on Joomla! 2.5.8 and still have the duplicate issue per GWT.

Attachment not found


Open a free Google Webmaster Tool acount and remove those things there from Google Index and Cache.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum