What does /*.php$ mean in robots.txt?

by clarabelle , in category: SEO , a year ago

What does /*.php$ mean in robots.txt?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

by dejuan.watsica , a year ago

@clarabelle 

In a robots.txt file, the syntax /*.php$ refers to any URL ending with the extension ".php".


The robots.txt file is a plain text file placed in the root directory of a website that instructs search engine robots or web crawlers on how to interact with the website's pages. The file includes various rules that specify the permissions or restrictions for specific URLs or types of content that can be crawled or indexed by search engines.


The /*.php$ directive, when used in a robots.txt file, indicates that the webmaster does not want any URL with a ".php" extension to be crawled by search engine robots or web crawlers.