Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi All,
I want to implement Google site map. I have done all the code required to generate sitemap.xml.
The problem i am getting is robots.txt :(

i just created a robots.txt file and wright one line
i.e.

Sitemap: http://mysite/googleSitemap.aspx

Is it correct as i am observing from last 2 days the Google is not crawler it?

Do i need to change the robots.txt?

Can any one tell me the steps for all this?


Regards,
Sachin
Posted
Comments
Matej Hlatky 24-Jan-13 8:07am    
Did you submitted your sitemap.xml to Google?
Check here http://support.google.com/sites/bin/answer.py?hl=en&answer=100283

 
Share this answer
 
Comments
sachinDabas 24-Jan-13 22:30pm    
Hi ,
I would like to know that do we really need google webmaster tool id robots.txt is not enough?
This is the manual on robots.txt, please see it http://www.javascriptkit.com/howto/robots.shtml[^].

If cannot see why could you ever be interested in mentioning your sitemap URL in this file. Just the opposite.

—SA
 
Share this answer
 
v2
Comments
sachinDabas 24-Jan-13 22:27pm    
Hi i have already gone through all these link just want to know that i have entered below link in my robots.txt

Sitemap: http://mysite/googleSitemap.aspx

Is it correct as i am observing from last 2 days the Google is not crawler it?
Sergey Alexandrovich Kryukov 24-Jan-13 22:57pm    
Good.

First, two days many be too soon, cannot tell you exactly.

What is that reference? It's not any real site.
Can you explain to us why would you want to mention your sitemap URL in robots.txt. What do you want to achieve. I fail to see any sense in it.

—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900