Home › Forums › Support › Changing Search slug and its parameter This topic has 7 replies, 3 voices, and was last updated 4 years, 1 month ago by Tom. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts December 4, 2019 at 4:43 am #1092943 Gulshan Hello dear, Can you please suggest me snippet for below changes From https://example.com/?s= To https://example.com/search?q= Expected HTML output <form method="get" class="search-form navigation-search nav-search-active" action="https://example.com/search/"> <input type="search" class="search-field" value="" name="q" title="Search"> </form> Thanks in advanced! December 4, 2019 at 9:04 am #1093354 LeoStaff Customer Support Hi there, Is this what you are looking for? https://docs.generatepress.com/article/generate_navigation_search_output/ December 5, 2019 at 10:52 am #1094911 Gulshan Yes, exactly. Thank you very much. π December 5, 2019 at 2:48 pm #1095127 LeoStaff Customer Support No problem π February 19, 2020 at 6:03 am #1170228 Gulshan Hello Leo, Above solution works perfectly for Navigational Search which relates to GP Theme. I wonder if you could help me with default widget search box? I felt that was needed for my 404 page. Thanks February 19, 2020 at 7:47 pm #1171044 TomLead Developer Lead Developer Hi there, This article might help: https://www.wpbeginner.com/wp-tutorials/how-to-change-the-default-search-url-slug-in-wordpress/ Let me know π February 20, 2020 at 7:32 am #1171657 Gulshan Sorry, no. It return example.com/search/QUERY I need example.com/search/?q=QUERY Query string “q” after /search/ is important for me. February 20, 2020 at 4:39 pm #1172046 TomLead Developer Lead Developer Hmm, I’m afraid I can’t find a solution for this, unfortunately. You may find an answer if you ask this over on https://wordpress.stackexchange.com/. Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In