-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Post URL should not have trailing slash #7391
Comments
Hi @kirkas, I don't think the traditional file vs. directory comparison makes sense in today's web anymore and especially in Ghost where a blog post does not map to an actual file. There's e.g. also All in all I think it is a matter of opinion and Ghost decided to go with trailing slashes. |
@kirkas we use the Ghost issue tracker for issues with Ghost itself, and this is technically more of a feature request....for those we use https://ideas.ghost.org. If you like, please submit this feature request there. Like @ErisDS said in the older issue - doing this would not likely benefit a lot of users. That being said, if you put it on the wishlist I linked above, and enough people vote on it with a desire to change it, then we can re-think this. Personally, I agree with @halfdan's comment. |
Yes it is a matter of opinion, and there's fair arguments on both side. the point is the config option is fairly easy to add, so why not having it and let people choose? |
@kirkas see the above response. Also, the technical requirements of adding a config option like that are not trivial at the moment, which is why it needs to be a feature request on the wishlist first 😄 |
Fair! |
This also breaks anchor links:
|
@benwoodward that is not a "broken" anchor link, it's the correct anchor link for a page with a trailing slash. |
I understand the use of trailing slash for category / tag as they somewhat represent a parent, but a post is a child url and shouldn't require slash (or at least being given the option not to have a slash).
www.blog.com/category/
is a directory / parentwww.blog.com/category/my-first-post
is a file / childIt create issue with social crawler #4828
And someone already did a PR: #1028
Argument: http://stackoverflow.com/questions/5948659/when-should-i-use-a-trailing-slash-in-my-url
The text was updated successfully, but these errors were encountered: