Should I create a parent page with no content? [closed]

Your question is a bit out of the scope of this site, but according to Google, creating any URL without content would not be beneficial for SEO. It would likely work better SEO-wise to create a custom post type that has no archive, so you have the parent slug you’re wanting in the URL without … Read more

Search function does not work on mobile devices

In WordPress the name for a search field must be s. WordPress automatically performs a search on any request where s is present. For some reason your theme has a separate search field named m that is displayed on mobile. This won’t do anything unless custom code is added to handle this. But that’s not … Read more

How to set “split_on_numerics” to false in ElasticSearch mapping using ElasticPress? (for proper SKU search in WooCommerce) [closed]

This one was tough, but here is the solution for this! First, you will need to use SSH to access the server where you have ElasticSearch installed. After that, you will want to perform these commands: This one will first close your index, only then you can perform changes: curl -X POST http://localhost:9200/YOUR-INDEX/_close?pretty This one … Read more

Include results with tags relevant to the search keyword with JSON rest API v2

WP Extended Search does not work with REST by default since version 2.0.2 This is to achieve maximum compatibility with WordPress and other plugin/themes. To enable the support, pass wpessid in REST request with ID (for specific search setting) or without ID (for global search setting). e.g. /wp-json/wp/v2/posts?search=technology&wpessid or /wp-json/wp/v2/posts?search=technology&wpessid=10 Ref: https://wordpress.org/support/topic/search-queries-with-metakey-name-issue-version-2-0-2/#post-14376988 PS:- I am … Read more