Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Slash in URL

Started by Muut Archive 10 years ago · 5 replies · 422 views
10 years ago

Is it possible to switch from a url like /tag:tagnamehere to /tag/tagname?

10 years ago

That will break things quite badly! How does it know it's a param and not a route? It will simply not be reliable with /

10 years ago

so is there anyway to do it with routes etc?

10 years ago

I don't quite recall the name of the thread, but I think I accomplished a working proof of concept for doing so through masking in .htaccess, and made some note somewhere of how to altar the routes to accomplish the same. However as rhukster noted, there are issues of reliability as we're fitting a square peg into a round hole.

10 years ago

Dang. I like the look of the / separator but if it's a bad option I'll skip it. Thanks :)

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1360 9 years ago
Archive · by Muut Archive, 9 years ago
2 938 9 years ago
Archive · by Muut Archive, 9 years ago
2 4068 9 years ago
Archive · by Muut Archive, 9 years ago
1 2958 9 years ago
Archive · by Muut Archive, 9 years ago
3 1122 9 years ago