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

Rewrite rule for colon

Started by Muut Archive 9 years ago · 2 replies · 380 views
9 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?

9 years ago

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

9 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 1348 9 years ago
Archive · by Muut Archive, 9 years ago
2 934 9 years ago
Archive · by Muut Archive, 9 years ago
2 4060 9 years ago
Archive · by Muut Archive, 9 years ago
1 2946 9 years ago
Archive · by Muut Archive, 9 years ago
3 1117 9 years ago