Hiding SharePoint Application page (_Layouts Pages ) For Public Facing Site

For publishing site it is recommended to hide “_layouts” pages from crawling by search engines. When you create SharePoint public facing site using “publishing site” template it activates the feature “ViewFormPagesLockDown”. This feature prevents users from opening any of pages from “_layouts” folder. But this feature is not available in…