Skip to content

Write doc to remove conjunctions from URLs #817

Open

Description

@willguv

Hi @dedavidson I'm looking at a few D&G improvements which we agreed would be pushed back to LGD at some point

We did some work on url conjunctions - is this easily translatable into a PR for new sites please?

Activity

  1. moved this to Ready in 2025 Backlogon Jan 30, 2025
  2. willguv commented on Mar 26, 2025

    @willguv
    MemberAuthor

    Hi again @dedavidson is this something you could create a PR for?

  3. markconroy commented on Mar 26, 2025

    @markconroy
    Member

    I like to leave all the words in URL patterns. I don't like when you create content with a title like "I am using this" and you get a url like /using.

    I much prefer a URL that is readable, such as /i-am-using-this (and it's more predictable) (and I think works better for breadcrumbs and other heirarchical nav items, but I could be wrong here - certainly leaving all the words in will do no harm to breadcrumbs/menus/etc)

  4. willguv commented on Mar 26, 2025

    @willguv
    MemberAuthor

    @markconroy it removed a few selected words - eg and, the - in line with Gov.uk work

  5. markconroy commented on Mar 27, 2025

    @markconroy
    Member

    For note, here's what we are currently removing:

    a, an, as, at, before, but, by, for, from, is, in, into, like, of, off, on, onto, per, since, than, the, this, that, to, up, via, with

    If it was my choice, I would not remove any, but happy to go with the consensus.

  6. dedavidson commented on Mar 27, 2025

    @dedavidson

    @willguv yes will get that done

  7. dedavidson commented on Jun 5, 2025

    @dedavidson

    ignore_words: 'a, an, and, are, as, at, before, but, by, for, from, get, if, is, in, into, it, like, of, off, on, onto, or, per, since, so, than, the, this, that, to, up, via, when, where, with, you'

    This is what we changed pathauto.settings.yml to be.

    It added and, are, get, if, it, or, so, when, where, you

  8. self-assigned this
    on Jul 9, 2025
  9. linked a pull request that will close this issueRemove conjunctions from URLs #872on Jul 9, 2025
  10. moved this from Next to Now in 2025 Backlogon Jul 14, 2025
  11. moved this from Now to Next in 2025 Backlogon Jul 14, 2025
  12. finnlewis commented on Jul 15, 2025

    @finnlewis
    Member

    gov.uk advice: https://insidegovuk.blog.gov.uk/url-standards-for-gov-uk/

    Of interest:

    1. These standards apply to the GOV.UK website and its subdomains. Separate standards apply to the wider use of the gov.uk domain, for example by local authorities.

    Discussing in Merge Tuesday:

    • @willguv is keen to make this change for new sites.
    • @markconroy is still not keen
    • @andybroomfield uses the defaults from pathauto, and knows where to change it if needed.

    @dedavidson where did you get your list of words from? The guidance on https://insidegovuk.blog.gov.uk/url-standards-for-gov-uk/ does not seem to have a full list.

    Also, we should document this for councils to be aware of how to change it.

  13. willguv commented on Jul 15, 2025

    @willguv
    MemberAuthor

    Link from @andybroomfield showing where this is changed /admin/config/search/path/settings

  14. dedavidson commented on Jul 21, 2025

    @dedavidson

    @finnlewis the list of additional words came from the work at Dumfries & Galloway.

  15. changed the title [-]Remove conjunctions from URLs[/-] [+]Write doc to remove conjunctions from URLs[/+] on Jul 21, 2025
  16. moved this from Now to Next in 2025 Backlogon Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions