CMTV
Well-known member
Hi!
I have a custom route called
Now I want to redirect to my
But for some reason it always redirects me to
What am I doing wrong?
I have a custom route called
google-search with "Route format" set to :str<search_query>/.Now I want to redirect to my
google-search page with search_query specified:
PHP:
return $this->redirect($this->buildLink('google-search', "My Search Query"));
But for some reason it always redirects me to
/index.php?google-search/ when it should redirect to /index.php?google-search/My Search Query/.What am I doing wrong?