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

Use kebab-case for URLs #313

Open
Fcmam5 opened this issue Jun 17, 2021 · 3 comments
Open

Use kebab-case for URLs #313

Fcmam5 opened this issue Jun 17, 2021 · 3 comments

Comments

@Fcmam5
Copy link

Fcmam5 commented Jun 17, 2021

It looks a bit weird for me to see Pascal-case in DzCode.io links. Is there a narrative behind that? Or we should stick with the standard: Use kebab-lower-cases for urls. Example:

https://www.dzcode.io/Contribute
https://www.dzcode.io/contribute
@ZibanPirate
Copy link
Member

This issue better be resolved now before is becomes a serious problem in the future, thanks @Fcmam5

https://www.searchenginejournal.com/url-capitalization-seo/343369/

This article list many ppl's opinions on this matter, and the way I see it, we should use :

  • one case type consistently across the website.
  • lower case letters seem to be the best option.

It doesn't say anything about spaces in url, but I'm thinking instead of the kabab case style we use snake case, we use '_' instead of '-', because we already have composed words that uses '-' like "open-source"

I would love to hear your opinion on this along with @dzcode-io/maintainers

@Fcmam5
Copy link
Author

Fcmam5 commented Jun 18, 2021

For API resources I'd go for -, same for article URLs (I don't have a strong opinion on this tho), some websites use kebab case like:

https://docs.github.com/en/rest/overview/openapi-description

And others use _(I'm talking abt article names and not sub pages/dirs)

https://en.wikipedia.org/wiki/Algerian_cuisine

@abderrahmaneMustapha
Copy link
Member

hi @ZibanPirate and @Fcmam5 i can start work on this soon , i think that we need to talk about it more

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

No branches or pull requests

3 participants