trailing slashes
See original GitHub issueI’d like to create my pages as /blog/
and /blog/2/
, it cannot be done currently, right?
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
What is a trailing slash? - Ryte Wiki
A trailing slash is the forward slash placed at the end of a URL. The trailing slash is generally used to mark a...
Read more >To slash or not to slash | Google Search Central Blog
Historically, it's common for URLs with a trailing slash to indicate a directory, and those without a trailing slash to denote a file:....
Read more >What Is a Trailing Slash in URL & How Does It Affect SEO?
A trailing slash in URL is the character '/' that comes after a domain name. For example: ... When looking at various websites,...
Read more >Trailing slashes (GNU Coreutils 9.1) - GNU.org
The --strip-trailing-slashes option enables this behavior. This is useful when a source argument may have a trailing slash and specify a symbolic link...
Read more >When should I use a trailing slash in my URL? - Stack Overflow
Search engines and virus checkers often dislike URLs that appear that they may contain malware distributed through such mechanisms. The trailing ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ryanwiemer I consider that maybe adding an API to specify a function that builds the path might be an option here, what do you think?
This would allow us to support all kinds of crazy use cases, like
/foo/even/2/
and/foo/odd/3/
or whatever folks can come up with. It’d also allow somebody to add trailing slashes.I understand. Your are aiming at something more robust and inline with your current api. On the other hand, there might be more need for something that merely solves trailing slashes. At least now there’s a solution out there, that might be useful for someone.