I discovered that the problem was in my theme’s searchform.php file. I changed the form method from “post” to “get.” Now search queries show up in the url address.
Before:
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
After:
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
Problem solved.
Related Posts:
- History of page, interval of years
- Is there a way (plugin?) to restrict a user to being able to edit just one page?
- What is the best page ordering plugin that works well with WPML? [closed]
- How to make search engine index PDF files? [closed]
- Create page when plugin is activated
- jQuery plugin only in one page/post
- How would implement StackExchange ‘Questions with similar titles’ for the FAQ on my wordpress site
- How to create a Page alias in WordPress
- Include images from pages in wp search.php results in default wp search
- How to improve WordPress search
- Is there a way to lock certain pages from being edited by anyone other then the admin?
- How do I add advanced custom fields / meta fields to Elasticsearch? [closed]
- plugin to search entire posts, blogs, forum, users [closed]
- Custom Text Under Navigation Links
- Set a category for a page
- Automatically adding post and pages to new blog setups
- How can I reuse the WordPress search form for a custom plugin / widget?
- Show a special message for private page?
- What is the best way to mimic a search query within a plugin
- Is there a way I can find wordpress posts that don’t contain a word?
- Do action only on certain front end pages?
- Search Everything plugin integration
- AJAX search posts and pages
- How to delete page by deactivating plugin
- WordPress web pages keep getting deleted (moved into the trash) by themselves
- php page not found for plugin options menu
- Create page from plugin, but have it completely hidden
- AJAX search as you type? [duplicate]
- How to add subcategories to the blogroll?
- How do I write an inventory list plugin that creates dynamic details pages?
- Proper way to replace the_content only for pages created by custom plugin
- WooCommerce search products between price range using WP_Query
- Display Custom Field Value on Admin Page Column
- I need help locating a URL that is on my site map, but that I can’t find in my WordPress dashboard
- Show author on every sub-page
- Send admin an email when a user’s search has no results
- How to create a page with links to other pages that include image and excerpt?
- Making my plugin create a page?
- How to set “split_on_numerics” to false in ElasticSearch mapping using ElasticPress? (for proper SKU search in WooCommerce) [closed]
- Woocommerce Backend Search by Title and SKU
- Search and Filter Plugin – How to disable redirection
- WordPress Multi-Step Product Search
- Creating a search form and displaying results
- Custom page in plugin visible in menu
- What is the best way to make a custom page from a plugin?
- Setting text widget to one page only
- Elementor Combined all Sections into 1 Text Editor
- WordPress search shows protected content
- Displaying page content from plugin, inside exising empty WP page
- How to search post titles with whole words only, but not the exact word only?
- Oops! That page can’t be found
- RSS feeds for specific topics
- Use get_pages() before another plugin modifies it
- Give custom page template a custom post ID
- Bookmarking custom template pages which all have the same page ID
- Adding LOAD MORE on a page
- Randomize post (and page) IDs on generation
- WordPress Frontend Page using Plugin
- Redirect to a page while maintaining search query parameters without causing an infinite loop
- Powerpress upload a podcast without creating a post for it
- Allow a page to be edited by a specific custom role
- How to exclude a part of a page in search results
- Failed to load resource: the server responded with a status of 500 () post.php
- Enabling plugin on specific pages and subpages
- multiple string replace of post’s content for large data
- How to disable users to view Other pages
- Include images from pages in wp search.php results in default wp search
- Get content and send to 3rd party
- How to make wp multisite subdomain exist search
- Remove Url Parameter WordPress
- Wordress admin page is fetching error You do not have sufficient permissions to access this page.
- Multiple calling javascript from shortcode in one page
- How can I remove this sidebar from my Search Results page?
- Choose default template for a page with code
- How to hook into search results template or query?
- WordPress Search return wrong results
- Get page content by ID (from a plugin)
- Creating a page that does not show up in the frontend navigation bar
- Fatal error when accessing Pages in WP admin (and problems editing any pages)
- How to set up php,javascript and css to allow for our finished product to be displayed within a page?
- Create a blank admin page from plugin
- Is there any simple wordpress search template that works with existing searchforms?
- Extend WordPress Search
- WordPress ultra slow if I click on posts?
- Display static pages instead of category, in code
- How to make only selected posts appear on a selected wordpress page
- Dave’s WordPress Live Search only works when logged in as admin
- wordpress Search function is not working
- Static page with formatted post list
- Additional scrollbar appears inside the browser on every page + lag scroll -Winner theme
- WordPress Plugin and other pages not opening
- Can we install 3d product configurator into wordpress
- Set the Social Icon Size in footer
- ImageMagick on wordpress 6.5.5 for Linux Alma 8 success but which no magick
- How to Handle? vp_page Parameter in WordPress and Resolve Google Search Console Validation Issues?
- How to add CPT in Elementor pro search template
- I want to create a search option for CPT using plugin. The search options should search for categories and tags
- Plugin for better Backend Search? [closed]
- How do I apply different block supports to different parts of my custom block?
- Remove 3rd party plugin notices from within own plugin