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

Append request parameter to redirect url - site.yaml setting

Started by Muut Archive 11 years ago · 1 replies · 370 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 2581 9 years ago
Archive · by Muut Archive, 9 years ago
2 1699 9 years ago
Archive · by Muut Archive, 9 years ago
2 4991 9 years ago
Archive · by Muut Archive, 9 years ago
1 3820 9 years ago
Archive · by Muut Archive, 9 years ago
3 1807 9 years ago