Google webmaster tools shows wrong keywords for my site.
For example, it shows
and many more irrelevant keywords. Dont know why it's looking at the code.
I am unable to figure out why.
Any help is appreciated.
This question came from our site for professional and enthusiast programmers.
Google can't read your PHP code. It can only read the output of your web server. So your server must be spitting out PHP code somewhere.
If your site is functioning normally, then the most likely place for this to happen is on an error page, or 404 page. What happens if you type in a non-existent URL? Do you see an error page that includes some of the keywords above?
What happens if you search your site for some of those keywords? Which page is returned?