Active mode checks: forms, logged-in pages and exposed files
Active mode goes beyond reading public pages. It reports on forms that submit over http, forms without validation, broken key actions, a test form submission to the address you provide, and a login with a test account. It also looks for exposed sensitive files, directory listings, public admin logins and phpinfo(). Fix what is exposed first, then the forms and the logged-in area.
How the problem happens
A backup, .env file or phpinfo page is left in the web root, an old form still posts to http, or the server lists folders because indexes are on. A test account may expire.
Why active mode problems cost security, leads and trust
Most checks read the public pages of a site. Active mode goes further and tests what the site does when something interacts with it: a form is submitted, a key page is opened, a file address is requested, a login is tried. The problems it finds are different in kind. They are not about how a page ranks but about whether the site is safe and whether it works at the moment a customer needs it to.
The risks are concrete. A form that submits over plain http sends visitor data without encryption. A contact, booking or order page that errors or has no working button loses the lead without anyone noticing, because the page looks fine. A file such as an environment file, a version control folder or a backup archive left in the web root can expose passwords and source code to anyone who guesses the address. A directory listing shows the contents of folders, a public admin login invites automated attacks, and a phpinfo page reveals the full server configuration. Pages in a logged-in area that can be opened without login, or that are not marked noindex, can put personal data into search results. Each of these is worth fixing before any ranking work.
How to check active mode problems by hand
Request the addresses that should never be public and look at the status code. A request for an environment file, a version control configuration, a backup archive or a database dump should return forbidden or not found, never the file. Open a folder address that has no index page and see whether the server lists its contents. Try the usual admin addresses of your platform and see whether a login form is reachable by anyone. Search your site for a page that prints the server configuration. The short script in the example makes the first of these tests repeatable.
For forms, submit each one yourself. Check that the form action begins with https, that leaving a required field empty or typing a malformed email address is caught in the browser, and that the server also checks the data, because browser checks can be bypassed. Walk through the key journeys end to end: make a test booking, send a contact message, place a test order, and confirm that every step works and that the confirmation arrives. For a logged-in area, log in with a test account, open the pages, watch for errors, and then open the same addresses in a private window without logging in. A private page that opens without login is exposed; if it also has no noindex, it can additionally appear in search.
Copy-ready examples
The examples below show the markup, commands and settings that the checks in this family look for. Replace example.com and the sample values with your own, and test the result on a copy of the page before you publish it.
# Check by hand that sensitive paths are not served (expect 403 or 404)
for p in .env .git/config backup.zip wp-config.php.bak phpinfo.php; do
printf "%s " "$p"; curl -s -I "https://example.com/$p" | head -n 1
done
# nginx
autoindex off;
location ~ /\.(?!well-known) { deny all; }
location ~* \.(bak|old|sql|zip|tar|gz|log|env|ini|swp)$ { deny all; }
location /admin/ { allow 203.0.113.10; deny all; } # example address
<!-- A form that posts over https, validates in the browser and on the server -->
<form action="https://example.com/contact" method="post">
<label for="e">Email</label>
<input id="e" name="email" type="email" required autocomplete="email">
<label for="m">Message</label>
<textarea id="m" name="message" required minlength="10"></textarea>
<button type="submit">Send</button>
</form>
<!-- Pages behind a login -->
<meta name="robots" content="noindex, nofollow">How to fix active mode problems on the server and in code
Remove what should not be there. Delete backups, archives, dumps, editor swap files and install files from the web root, and keep secrets in the environment instead of in files under the public folder. At the server, deny hidden files whose names start with a dot, and backup extensions and turn directory listing off, as in the example, then request each address again to confirm that it returns forbidden or not found. Delete diagnostic pages such as phpinfo. Rotate any password or key that has ever been in an exposed file, because it may already have been read.
Protect the admin area. Restrict it by address, put it behind a second authentication step, rename or move the default login path where the platform allows it, and limit login attempts. Make every form post to an https address, validate in the browser for convenience and on the server for security, and show clear errors. Monitor your key journeys so that a broken booking or order button is noticed in minutes, not weeks. Put all logged-in pages behind real authentication and add noindex as a second layer. In a CMS, remove unused plugins and themes, keep everything updated, and check that form plugins post over https.
How RankDossier detects active mode problems
Active mode goes beyond reading public pages and works with the data the owner provides. The checks in this family report forms that submit over http, forms without validation, broken key actions such as a booking, contact or order page that errors or has no form or button, and the result of a test form submission to the address the owner supplied. They also report a sensitive file that is publicly accessible, directory listing, a publicly reachable admin login and a public phpinfo page.
When a test account is provided, further checks report a failed login, errors in the logged-in area and logged-in pages that are open to indexing. Fix what is exposed first, then the forms and the logged-in area. The technical SEO audit guide puts these findings next to the other technical signals, the crawler control guide explains what robots rules can and cannot hide, the WordPress SEO audit guide covers the plugins and files most often exposed on that platform, and the SEO checklist helps you order the work.
Wrong and right
Wrong
<form action="http://example.com/contact" method="post">...</form>
GET /.env -> 200
GET /uploads/ -> directory listing
Right
<form action="https://example.com/contact" method="post" novalidate>
<input type="email" name="email" required>
</form>
GET /.env -> 404
GET /uploads/ -> 403
How to fix it
WordPress
Delete backups and install files from the web root, protect the login page with a second step, limit its access, and make sure form plugins post over https.
Next.js
Validate every form on the server, post only to https routes, keep secrets out of the public folder, and set private pages to noindex and behind a login.
// app/api/contact/route.ts: validate on the server as well
export async function POST(req: Request) {
const { email } = await req.json();
if (!/^[^@\s]+@[^@\s]+$/.test(email)) return Response.json({ error: 'invalid' }, { status: 400 });
return Response.json({ ok: true });
}
Nginx
Turn autoindex off, deny hidden files whose names start with a dot, and backup extensions, and restrict the admin path by IP or a login, then request each address to confirm that it returns 403 or 404.
autoindex off;
location ~ /\.(?!well-known) { deny all; }
location ~* \.(env|bak|sql|zip)$ { deny all; }
Check codes in this family
These checks belong to this family. Each code appears in the audit report with its own explanation and fix.
FORM_INSECURE_ACTIONForm submits over http://KEY_ACTION_BROKENKey action is brokenACTIVE_EXPOSED_FILESensitive file publicly accessibleACTIVE_DIR_LISTINGDirectory listing enabledACTIVE_ADMIN_EXPOSEDAdmin login publicly reachableACTIVE_PHPINFOPublic phpinfo()FORM_NO_VALIDATIONForm without validationACTIVE_LOGIN_FAILEDLogin with the test account failedACTIVE_PRIVATE_ERRORSErrors in the logged-in areaACTIVE_PRIVATE_INDEXABLELogged-in pages are open to indexingACTIVE_FORM_TESTTest form submission
Related check families
Read the full guide How to choose a website audit tool and fix SEO issues with it for the wider picture.
Check your own site
Enter a domain – the free pre-check reads up to 10 pages and shows how many types of problems it finds. You pay only if you want the full report.
Start the free pre-check