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

Change tag url structure

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

Is it possible to change this example.com/tag:travel to this example.com/?tag=travel?

10 years ago

Grav does fully support the traditional URL queries, however any plugins and/or themes would need to be modified to look for a query value rather than a parameter as it's doing now.

10 years ago

Could you provide an example for TwentyFifteen Site skeleton/theme? I'm new to coding in general so I'm having hard time finding the part which I have to edit.

10 years ago

This is not a trivial change. Your basically wanting to change how data is transferred between pages. Unless you have a good reason, I suggest that you leave the parameter style as it's prettier and works fine as-is.

10 years ago

The great thing is that search engines will treat the Grav parameters as part of a valid independent URL. So there's no need for query support. This is not something you need to worry about.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1357 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2955 9 years ago
Archive · by Muut Archive, 9 years ago
3 1121 9 years ago