Questions and answers about how to do stuff
mattch
Posts: 49 Joined: 28 Mar 2018 22:26
Post
by mattch » 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.
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
pdwalker
Posts: 1581 Joined: 18 Mar 2015 09:16
Post
by pdwalker » 09 May 2024 09:58
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.