• Resolved jorgitobg

    (@jorgitobg)


    After force HTTPS traffic on our website I have activated also search on ampforwp but I only receive a blank page… how can I debug this?

    Regards

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @jorgitobg

    That’s extremely strange. Rightnow, it seems like the Search is disabled at the moment. Can you please activate it so that I can check and help you?

    Thread Starter jorgitobg

    (@jorgitobg)

    Activated again…

    Thread Starter jorgitobg

    (@jorgitobg)

    I found today is working with this URL https://hermandadblanca.org/amp/?s=incienso, but still no working with default URL https://hermandadblanca.org/?amp=1&s=incienso.

    How can I force https://hermandadblanca.org/amp/?s=incienso for search?

    Regards,

    Thread Starter jorgitobg

    (@jorgitobg)

    Deactivated waiting for you to debug.

    Thread Starter jorgitobg

    (@jorgitobg)

    FIXED /templates/search-functions.php
    ADDED /amp/ after $action_url
    CHANGED ORDER ON FORM VALUES amp=1 after ?s=

    Please could you add to your next version?

    *******************************************************
    $form = ‘<form role=”search” method=”get” id=”searchform” class=”searchform” target=”_top” action=”‘ . $action_url .’/amp/”>
    <div>
    <label class=”screen-reader-text” for=”s”>’ . $label . ‘</label>
    <input type=”text” placeholder=”‘.$placeholder.'” value=”‘ . get_search_query() . ‘” name=”s” id=”s” />
    <input type=”text” placeholder=”AMP” value=”1″ name=”amp” class=”hide” id=”ampsomething” />
    <input type=”submit” id=”searchsubmit” value=”‘. esc_attr_x( ‘Search’, ‘submit button’ ) .'” />
    </div>
    </form>’;
    *******************************************************

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘blank search page’ is closed to new replies.