Skip to content

Serve noindex homepage copy at /-/ #2393

@simonw

Description

@simonw

Sites like https://datasette.io/ and https://til.simonwillison.net/ run Datasette but with a custom template for the homepage. This makes them a little harder to use because there’s nowhere to go for the list of databases (I use /-/databases for that sometimes but it’s not very pretty).

Solution: serve a copy of the homepage at /-/ but put a <meta name="robots" content="noindex"> on it to avoid it being accidentally indexed as duplicate content.

I’ll have /- redirect to /-/ too.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions