• Resolved ericavijay

    (@ericavijay)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author patrickposner

    (@patrickposner)

    Hey @ericavijay,

    thanks for your report.

    You may want to check it with the latest version of Simply Static, as it no longer touches the action attribute within the form.

    This way, it’s entirely up to you set the action tag and use it to reverse proxy submissions to another service (or the WP website).

    Best regards,
    Patrick

    Thread Starter ericavijay

    (@ericavijay)

    Perfect it works well now.

    Vijay

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Search form action defaults to /’ is closed to new replies.