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 9 years, 3 months ago by thh022.