preventing google from crawling wp-content

I would like to prevent Google from  crawling wp-content/plugins and wp-admin  for wordpress website .In other ,word  we need to do  ideal robot text  for our website


Thank you
SKYENERGY2020Asked:
Who is Participating?
 
Dave BaldwinFixer of ProblemsCommented:
This page from Google will help you create your 'robots.txt' file: https://support.google.com/webmasters/answer/6062608?hl=en
0
 
Edwin HofferTechnical ExpertCommented:
Add the below code in your robots.txt file

User-agent: *
Disallow: /wp-admin
Disallow: /wp-content/plugins

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.