On-Page Directives are pieces of source code that instruct crawler bots on how to navigate & index your website.
Always be sure that your on-page directives are implemented properly on your pages & that the signals found in them match the signals that you are giving bots in your Robots.txt file & XML Sitemap.