Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic Post Slugs for Forum Posts #16

Open
WisTex opened this issue May 19, 2022 · 0 comments
Open

Automatic Post Slugs for Forum Posts #16

WisTex opened this issue May 19, 2022 · 0 comments
Labels
core Required for the core operation of the script or theme enhancement New feature or request

Comments

@WisTex
Copy link
Owner

WisTex commented May 19, 2022

While the item and display views use long post ids in their URL, the forum post view page should use post slugs instead.

  1. The post slugs should be automatically generated based on the title of the post.
  2. Each post slug should be unique, appending a number after duplicate titles, if necessary.
  3. Both the forum topics page and the forum post page should use slugs instead of the post id.
  4. The post id should still work if there is no slug, for some reason (like it has not been created yet).
  5. If the post does not have a title, provide an alternative means of creating a unique slug.

Note:

The slug is only meant for viewing the post on the original forum and is only used for linking back to the original post on the original forum. It is not intended to replace the unique post ID used for federation.

The purpose of the slug is for SEO purposes, and to make the URL look more friendly, and possibly shorter.

@WisTex WisTex added enhancement New feature or request core Required for the core operation of the script or theme labels May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Required for the core operation of the script or theme enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant