Search form action defaults to /
-
Hello Developers,
Thanks for this product. I cannot seem to figure out how to make sure the Search Form being generated to have the correct action. for examples my site is now all placed under a folder called “/static/” however, all the HTML files have the action pointed to
<form role=”search” method=”get” class=”search-form” action=”/”>
I would like it to be actually like below:
<form role=”search” method=”get” class=”search-form” action=”/static/”>
This way we can capture the URL with a search string and use reverse proxy to generate specific search GET request only, but rest of the content will be served locally with the static folder.
The topic ‘Search form action defaults to /’ is closed to new replies.