Keyword

print=1&tmpl=component - Google duplicate index

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
15 years 5 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
15 years 4 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
15 years 4 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).

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

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
15 years 4 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
15 years 4 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
14 years 3 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
14 years 3 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
14 years 2 months ago #77065 by BBC
It is fixed in 2.5 SVN.

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

More
12 years 4 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
12 years 3 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.

More
12 years 3 months ago #77068 by Odin Mayland
Replied by Odin Mayland on topic Re: print=1&tmpl=component - Google duplicate index
I have a GWT account, hence how I knew there was an issue.

I will submit the 217 duplicate urls for removal. Wish there was another way....

I did also add this to the robot.txt:

Disallow */itemlist/tag/*
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
12 years 2 months ago #77069 by BBC
There is another faster way. Dont know it now by heart. Put "print" in list of forbidden words in URLs for Index. And all will be removed very soon, no new will be added.

Just chose .html?tmpl or &print=, to be sure your normal Items with word "print" in alias dont get removed. Narrow it as much as possible.

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

More
12 years 2 months ago - 12 years 2 months ago #77070 by Odin Mayland
Replied by Odin Mayland on topic Re: print=1&tmpl=component - Google duplicate index
1. When I submit .html?tmpl to GWT to REMOVE URL's I get this:

www.primocraft.com/.html?tmpl

Is that right?


2. And same question for .html?ml=1

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

  • BBC
  • BBC's Avatar Topic Author
  • Offline
  • Platinum Member
More
12 years 1 month ago #77071 by BBC
Sorry, didnt read forum for long time. I don know where you put it. But it works for sure.

Configuration --> URL Parameters->Add parameter
There i have simply "print" and "tmpl" (option No URL), besides many more not important here.

All URL with these words wont be in Google Index and Cache. (you will have other URLs in Index, dont worry)
I have it so simply because i know i dont have any item (or Menu item) with alias "print" and "tmpl" in URL.

Do it on your own responsibility.

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


Powered by Kunena Forum