Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Rewrite rule for colon

Started by Muut Archive 10 years ago · 2 replies · 511 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 2578 9 years ago
Archive · by Muut Archive, 9 years ago
2 1698 9 years ago
Archive · by Muut Archive, 9 years ago
2 4990 9 years ago
Archive · by Muut Archive, 9 years ago
1 3818 9 years ago
Archive · by Muut Archive, 9 years ago
3 1805 9 years ago