I need to block pages such as privacy policy, terms and conditions, and guarantees from being crawled and indexed by Google.  They might be unoriginal.  I use them for my multiple websites and they have no content relevant to be ranked by search engines. Their links are like https://example.com/privacy.phpI don't want to mess up and end up being penalized by Google
Use robots.txt to prevent privacy policy, terms and conditions, and guarantees from being crawled and indexed by Google
html;php;robots.txt;url encoding;meta robots