J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
google indexing wrong pages (1 viewing) 
Go to bottom
TOPIC: google indexing wrong pages
#1178
Damir Hrsak
Fresh Boarder
Posts: 10
User Offline
google indexing wrong pages Karma: 1  
Hello,

Please can you help?

Before few days I added one product to virtuemart. Today I see that google is crawled internal link for quick view, and not the product page.

How to block this kind of links in robots.txt?

Thank you for your help!
Damir

 
Logged Logged  
  The administrator has disabled public write access.
#1179
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:google indexing wrong pages Karma: 79  
Hello Damir,

add a rule in your robots.txt to disallow raw links such as:
Disallow: /*?*

More info at this link: http://stackoverflow.com/questions/9149782/ignore-urls-in-robot-txt-with-specific-parameters

Greetings,

John
 
Logged Logged  
  The administrator has disabled public write access.
#1183
Damir Hrsak
Fresh Boarder
Posts: 10
User Offline
Re:google indexing wrong pages Karma: 1  
Best support as always till now!
Thank You John
 
Logged Logged  
  The administrator has disabled public write access.
#1190
Damir Hrsak
Fresh Boarder
Posts: 10
User Offline
Re:google indexing wrong pages Karma: 1  
Hello,

When I add the command in robots.txt file that you suggested (Disallow: /*?*) I get an error from google WMT: URL restricted by robots.txt

My link for sitemap is: /component/jmap/sitemap/xml?format=xml

Expected, since the link contains (?)
Do you have any suggestions?

Thanks in advance for your help.
Damir
 
Logged Logged  
  The administrator has disabled public write access.
#1191
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:google indexing wrong pages Karma: 79  
Hello,

in this case add the rule a bit more specific, for example:
Disallow: /*?tmpl=component

This will disallow only the raw URLs from virtuemart.

John
 
Logged Logged  
  The administrator has disabled public write access.
#1192
Damir Hrsak
Fresh Boarder
Posts: 10
User Offline
Re:google indexing wrong pages Karma: 1  
I'll try it. Thank you John!
 
Logged Logged  
  The administrator has disabled public write access.
Go to top