plugin exclude from robots.txt

Sam1s

Registered Member
Joined
Aug 7, 2021
Messages
64
Reaction score
6
Is it ok to exclude plugins directory from robot.txt in wordpress site ? does it affect anything ?
 
I would think it's fine unless any of your plugins in that directory serve content dynamically to your website - it's possible that that content would not indexed or seen by the crawler. But remember a robots.txt file is only a suggestion and is often ignored.
 
My Suggestion is Disallow plug-in Directories via robot.txt. it’s avoid hackers use the index of query will Exposure of Information Through Directory Listing…
 
Back
Top