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

Rewrite rule for colon

Started by Muut Archive 10 years ago · 2 replies · 429 views
10 years ago

I have an existing blog with URLs /tag/XXX and /page/XXX and I can't seem to create routing rules in Grav to route /tag/XXX to /tag:XXX. How can I do this?

10 years ago

I should also say that redirects work. But I specifically want to maintain the existing URLs.

10 years ago

Taxonomy pages are special, as the tag name is a parameter. I don't think there's an alternative to using a redirect.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1662 9 years ago
Archive · by Muut Archive, 9 years ago
2 1122 9 years ago
Archive · by Muut Archive, 9 years ago
2 4282 9 years ago
Archive · by Muut Archive, 9 years ago
1 3162 9 years ago
Archive · by Muut Archive, 9 years ago
3 1286 9 years ago