Document how to disable login page SEO
This commit is contained in:
parent
a67ca468ef
commit
31a14f6ddd
1 changed files with 14 additions and 0 deletions
14
README.md
14
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
|
## Project Structure
|
||||||
|
|
||||||
```text
|
```text
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue