Page 1 of 1

Implement noindex tag - mailwatch login page

Posted: 15 Feb 2024 16:44
by mattch
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.

Code: Select all

<head>
<meta name="robots" content="noindex">
...
Is it ok to add this to /var/www/html/index.html to get the job done?
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>

Thank you

Re: Implement noindex tag - mailwatch login page

Posted: 09 May 2024 09:58
by pdwalker
As a security suggestion, you shouldn't be exposing your efa box to the internet.

It is more secure to keep it accessible via a vpn.

As for your suggested changes, that should be fine but remember your changes could get overwritten after an update of efa.

Keep track of any changes you make so you can reapply them after an update.