Hello friends... please help me to create robots.txt files...and one more doubt how to check google analytics code is correct or not in a site...?
Q.Robots file creation: Its very simple .Just follow the below steps: 1.Open a notepad 2.Write the following command User-agent: * Disallow: (here mention the url path which you dont want to crawl by the search engine spiders) Add your sitemap url here (coz spider first crawl the robots page & from there it will get the sitemap details to crawl your whole website) 3. Save the file with the name "robots.txt" & upload it in the root folder of your website. For more information please follow the below link: https://support.google.com/webmasters/answer/156449?hl=en Q. How to check google analytics code is correct or not in a site? 1.Open your analytics account 2.Click on the admin section (at the top right section) 3.Under property section click on "Tracking Info". 4.Copy the tracking id & search it in view source of your home page. 5.If you get that code that means your account is tracking the site's traffic & all.