How noindex entier site or subdomain in cyberpanel

in cpanel there is an option that allow us to noindex entier site
how to do this in cyberpanel?

Add the following context to the subdomain’s vhost.conf in question.

context / {
    extraHeaders          set X-Robots-Tag "noindex, nofollow, noarchive, nosnippet, max-snippet:-1, max-image-preview:large, max-video-preview:-1"

You can modify/remove any part you don’t need or use as is.

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.