Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter thh022

    (@thh022)

    *** UPDATE ***

    I tried to remove the 301 redirect and search worked just fine so the problem is the redirect.

    I have tried to change the path in the form:

    <form role=”search” method=”get” class=”search-form” action=”<?php echo esc_url( home_url( ‘/’ ) ); ?>”>

    …but I can’t get it right. I still get a 404 error when doing a search.

    Thread Starter thh022

    (@thh022)

    Sorry for being unclear.

    If you type our domain in a browser the 301 will redirect to domain.com/private.

    What I did write about private vs company doesn’t have anything with the problem.

    I see now that we have to pages called private:

    domain.com/private
    domain.com/form/private

    It seems like when using the search field it goes to domain.com/form/private

    Why?

    • This reply was modified 8 years, 1 month ago by thh022.
Viewing 2 replies - 1 through 2 (of 2 total)