Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Rewrite rule for colon

Started by Muut Archive 10 years ago · 2 replies · 477 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 2288 9 years ago
Archive · by Muut Archive, 9 years ago
2 1500 9 years ago
Archive · by Muut Archive, 9 years ago
2 4751 9 years ago
Archive · by Muut Archive, 9 years ago
1 3566 9 years ago
Archive · by Muut Archive, 9 years ago
3 1626 9 years ago