Hi, I have uploaded my site on hostgator, but there is no "robots.txt" file. However there is one .htaccess file. Is this the same as robot or should i upload another one? Regards
.htaccess & robots.txt file both are different things. so you need to upload both .htaccess and robots.txt file
Probably you don't need robots.txt. It can helps you to disallow search engines to index some files. .htaccess file is apache configuration directives for directory (error pages, authorization, etc).
In your robots.txt file it is helpful to specify directorys that you don't want legitimate search engines to search. The theory is that by only allowing google to search good areas of your site you get a better ranking. Example: User-agent: * Disallow: /cgi-bin/ Disallow: /admin/ Disallow: /stats/ Disallow: /dh_ Disallow: /*?* Code (markup):