From 31a14f6ddd824e61e7050f68097737f14e319a81 Mon Sep 17 00:00:00 2001 From: Oscar Admin Contributors Date: Thu, 3 Dec 2026 18:49:50 -0500 Subject: [PATCH] Document how to disable login page SEO --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 524e3c2..3a2a436 100755 --- a/README.md +++ b/README.md @@ -165,6 +165,20 @@ location /admin/ { } ``` +### SEO / discoverability + +The login page is intentionally indexable and includes basic SEO metadata plus a source-repo link to help people find the project. If you **do not** want the login page indexed, edit `login.php` and change the `admin_page(...)` SEO options: + +```php +], [ + 'indexable' => false, // was true + // 'description' => '...', + // 'repo_url' => 'https://git.claytonia.net/Clarth/oscar-admin', +]); +``` + +Authenticated dashboard pages remain `noindex,nofollow` by default. + ## Project Structure ```text