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

Append request parameter to redirect url - site.yaml setting

Started by Muut Archive 11 years ago · 1 replies · 352 views
11 years ago

Hello again,
I have a requirement to redirect from
/def/ghi?req=123
to
/xyz/ghi?req=123

How can I do this in my site.yaml by retaining the request parameter as is? I have tried out some options myself but couldnt accomplish it. Does GRAV support this sought of option?

11 years ago

I'm afraid the parameters are not considered in a redirect. You can still do that through .htaccess

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2283 9 years ago
Archive · by Muut Archive, 9 years ago
2 1497 9 years ago
Archive · by Muut Archive, 9 years ago
2 4747 9 years ago
Archive · by Muut Archive, 9 years ago
1 3563 9 years ago
Archive · by Muut Archive, 9 years ago
3 1622 9 years ago