I have custom search form on category category.php
list template with following code:
<?php $searchresults = site_url('/?p=1365'); ?>
<form class="search-slide" id="search-slide" name="search-slide" action="<?php echo $searchresults; ?>" method="post">
<input type="text" name="s_name" id="s_name" size="30" value="" class="find s-name" placeholder="Name Lastname" tabindex="1" />
<input type="text" name="s_offer" id="" size="30" value="" class="find s-tag" placeholder="in research offer" tabindex="2" />
<input type="text" name="s_area" id="" size="30" value="" class="find s-obsz" placeholder="in Application area" tabindex="3" />
<input name="s_tags" id="tag-list" value="" tabindex="4" />
<input class="slideradio" type="checkbox" id="w01" name="w[]" value="w01" />
<label for="w01"><span></span>Faculty of Architecture</label>
<input class="slideradio" type="checkbox" id="w02" name="w[]" value="w02" />
<label for="w02"><span></span>Faculty of Civil Engineering</label>
<input class="slideradio" type="checkbox" id="w03" name="w[]" value="w03" />
<label for="w03"><span></span>Faculty of Chemistry</label>
<input class="slideradio" type="radio" id="adefault" name="s_sort" value="" checked="checked" tabindex="6"/>
<label for="adefault"><span></span>Default</label>
<input class="slideradio" type="radio" id="aasc" name="s_sort" value="" tabindex="7" />
<label for="adefault"><span></span>Sort A-Z</label>
<input class="slideradio" type="radio" id="adsc" name="s_sort" value="" tabindex="8" />
<label for="adefault"><span></span>Sort Z-A</label>
<button id="slide_search_btn" type="submit">Search</button>
</form>
And I'd like to send variables into another wordpress website search-result.php
(template page is added and published in dashboard). But when I click Search
button I get error 404 (I have red about naming name fields
but I think mine are Ok). But when I enter page directly in browser I got page normally.
Can anybody direct me how to resolv this problem?
w
is a reserved name. Try renaming it.