Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 310
  • Last Modified:

What could be done to avoid Google robot to use incorrect information?

Hi Experts!

What could be done to  avoid Google robot to use incorrect information captured from the code and present this?

According with the picture  inconvenient informations (just used for debugging code) is used..and things like  

<head>
...
<meta name="robots" content="index,follow" />
...
</head>

are not used in the .php files.

img01
Thanks in advance!
0
Eduardo Fuerte
Asked:
Eduardo Fuerte
  • 4
  • 3
2 Solutions
 
Chris StanyonCommented:
Google will gather that information from the DESCRIPTION meta tag if it has one, or the first part of the text on your page if it doesn't. It appears that your page is generating PHP errors at the start of your documents, so Google uses that.

To prevent it, resolve your PHP errors and request that Google re-visit your page using the Google Webmaster tools.

You shouldn't really do your debugging on a live site, but if you do, then include a robots.txt file telling the search engines not to index your site while you're debugging (don't forget to remove it after you're done!)
0
 
Ray PaseurCommented:
You might also want to make a specific statement in your debugging scripts to tell Google to "go away."

<meta name="robots" content="noindex, nofollow" />

This is a useful reference, too: http://www.robotstxt.org/
0
 
Eduardo FuerteAuthor Commented:
Thank you for the replies

I corrected the bugs and deleted another .php file.

I created a robot.txt with

User-agent: *
Disallow: /prj/php/

To disable the folder where php(s) remains for the robot don't see the undesired files...

And plus put this on the php file header for the robot don't catch information from:

<html>

<HEAD>
<meta name="robots" content="noindex, nofollow" /> 
</HEAD>
....

Open in new window



Entered  Google Webmaster tools that checks the folder allowed for Googleboot./ Googlebot-Mobile...

And robot's engine keep giving the undesired information in the search...

Is it needed a new robot cycle to accept and correct it?
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
Chris StanyonCommented:
Now that you've set that up, you may just have to wait and see. If you re-requested a visit from Google, it will take some time - nothing you can do to speed it up!!
0
 
Eduardo FuerteAuthor Commented:
Ok...
To reinforce I manually excluded  at Google Webmaster the undesired folder, with success. Still not ok but like you say... it's time to wait the next robot's visit....
0
 
Chris StanyonCommented:
Be prepared - it could take weeks :)
0
 
Eduardo FuerteAuthor Commented:
What a lazy robot (rs)...
0
 
Eduardo FuerteAuthor Commented:
Thank you for the guidance!
Now it's time to wait for the very busy robot to remind my site!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now