- Posts: 663
COMMUNITY FORUM
print=1&tmpl=component - Google duplicate index
- BBC
-
Topic Author
- Offline
- Platinum Member
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
-
Topic Author
- Offline
- Platinum Member
- Posts: 663
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- BBC
-
Topic Author
- Offline
- Platinum Member
- Posts: 663
Please Log in or Create an account to join the conversation.
- Ivo Apostolov
-
- Offline
- Senior Member
- Posts: 62
Please Log in or Create an account to join the conversation.
- B_Dark
-
- Offline
- Premium Member
- Posts: 126
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.
- Nathan Cowen
-
- Offline
- New Member
- Posts: 1
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
-
Topic Author
- Offline
- Platinum Member
- Posts: 663
Please Log in or Create an account to join the conversation.
- Odin Mayland
-
- Offline
- Platinum Member
- Posts: 404
Attachment not found
Please Log in or Create an account to join the conversation.
- BBC
-
Topic Author
- Offline
- Platinum Member
- Posts: 663
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.
- Odin Mayland
-
- Offline
- Platinum Member
- Posts: 404
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
-
Topic Author
- Offline
- Platinum Member
- Posts: 663
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.
- Odin Mayland
-
- Offline
- Platinum Member
- Posts: 404
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
-
Topic Author
- Offline
- Platinum Member
- Posts: 663
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.