Skip to content

[Feature] Set excerpt length to 2000 characters #27478

@azan-n

Description

@azan-n

When migrating a large journal from Wordpress locally to test things, I found that the excerpts kept getting truncated in the import. It turns out, I'm not the only person with this issue.

https://forum.ghost.org/t/how-do-we-change-the-maximum-excerpt-length/27040

One alternative that I thought of was to make the excerpt equivalent to the featured image caption but this would compromise on SEO and searching capabilities. After checking the database, it seems the limit on the database is 2000 characters, but it is limited to 300 using server/client validations. I am assuming this is done to possibly enforce good SEO practices that Google has set forth if I remember correctly. However, this makes it very hard for me to migrate clients from Wordpress to Ghost.

Draft PR: #27477

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs:triage[triage] this needs to be triaged by the Ghost team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions