Search Box Doesn’t work at all and shows weird behavior
-
I am absolutely stumped as to what I could be doing wrong and i’ve sat here for almsot a hour search these forums and other places for an answere with no luck. I set up a template for wordpress over at https://www.cybernetresources.com/gigmax/ and for some reason, whenever you try to search for something, it just goes to https://www.cybernetresources.com/index.php . I’ve tried variouse tips mentioned on the forums with no luck, and I have even tried setting my action to be static by putting https://www.cybernetresources.com/gigmax/ with no luck…same problem. Looking at the source of the page after it’s been generated shows the form code to look fine…it doesn’t make sense why it would be redirecting. Anyways, here is what I currently have for my form.
<form method=”get” id=”searchform” action=”<?php bloginfo(‘siteurl’); ?>”>
<input type=”text” value=”<?php echo wp_specialchars($s, 1); ?>” name=”s” id=”s” />
<input type=”submit” id=”searchsubmit” value=”Search” />
</form>Also, the search does appear to work, if i do something like, https://www.cybernetresources.com/gigmax/index.php?s=test , i can search.
Any answeres would be greatly appreciated. Also, i thought i’d mention this isn’t the first wordpress theme I did…and this is the first time I have had this problem. Also, if i change the theme to the classic theme for example, the search works fine.
- The topic ‘Search Box Doesn’t work at all and shows weird behavior’ is closed to new replies.