Hello Everybody, Can you please explain that what is the function of mentioned robots.txt. User-Agent: * Disallow: /dogs-for-sale/?* Disallow: /dogs-for-sale?* -- Thanks
User-Agent: {the robot the following rule applies to} Disallow: {the pages you want to block} User-Agent: * - this line tells that the following rule applies to all search engine robots (* is used as asterisk) Disallow: /dogs-for-sale/ - this line would be the rule which applies to above stated robots, and it tells them NOT to index subfolder dogs-for-sale as well as anything in it. (so the asterisk is not needed there, and I'm not aware that question mark has some role in robots.txt at all)
that mean search engines will not follow your links and if you remove / then it will follow indexing.