Implement noindex tag - mailwatch login page
Posted: 15 Feb 2024 16:44
Hello!
My mailwatch login page is showing up on google search and I dont want that.
Google suggest adding the "noindex" tag in the header or with an http response.
If it wasnt already indexed then the robots.txt should work too.
Is it ok to add this to /var/www/html/index.html to get the job done?
like this
Thank you
My mailwatch login page is showing up on google search and I dont want that.
Google suggest adding the "noindex" tag in the header or with an http response.
If it wasnt already indexed then the robots.txt should work too.
Code: Select all
<head>
<meta name="robots" content="noindex">
...
like this
Code: Select all
<!DOCTYPE html>
<html>
<head>
<meta name="robots" content="noindex">
<title>MailWatch</title>
<meta http-equiv="refresh" content="0; url=/mailscanner/" />
</head>
<body>
</body>
</html>