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

Change blog URL to slug #47

Open
j-hariharan opened this issue Dec 30, 2024 · 2 comments
Open

Change blog URL to slug #47

j-hariharan opened this issue Dec 30, 2024 · 2 comments
Assignees

Comments

@j-hariharan
Copy link
Contributor

The URL for each blog currently uses /blogs/blog_id, but this is not descriptive when sending the link in spams and other places. Instead, most blog sites use a unique slug for each blog, for example, /blogs/cp-roadmap. Make the required backend and frontend changes to switch to slugs, for blogs.

@j-hariharan
Copy link
Contributor Author

Example WhatsApp message containing blog link (notice the cover image and title being displayed):

1000104676

@ahmedfahim21
Copy link
Contributor

There is an issue though, we have already spammed our links withblog_id in a few places already, wouldn't want those to return a 404 now after this.

Ideally, handle it such that blog_id would work and redirects to page with slug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants