Comments (4)
Hi Michael,
It has been added, see f0c3518
It will ship with the 2.7.0 release.
The filter the_seo_framework_ld_json_search_url
defaults to http://example.com/?s=
.
This means you'll have to supply the ?s=
yourself.
Please note it's cached within a transient. You can flush the home page cache by re-saving the SEO Settings. This is the only place where the search script is output.
from the-seo-framework.
Hi Michael,
There's absolutely no objection, I just need to know how you've changed that query and I might be able to automatically implement such functionality 👍.
The reason for this is because The SEO Framework looks at the "s" query parameter on more places.
Keep me posted and have a great day!
from the-seo-framework.
My actual use case is where Magento is installed as a subfolder /shop/ and i'm wanting to make it's native search the potential search action.
Yoast has a filter for this called wpseo_json_ld_search_url
In other scenarios you might be wanting to make the search parameter a pretty URL like /search/foobar
which a few methods of implementation can be found here.
I think the the above three methods however where pretty URLs are used the potential action could stay as ?s=
since it will still work when searched.
from the-seo-framework.
@sybrew - Great, Thanks.
from the-seo-framework.
Related Issues (20)
- Rename popular filters HOT 3
- Update Gutenberg's permalink store when selecting a primary term.
- Add listeners for default visibility options in quick-edit.
- 5.0 Beta Test. HOT 1
- Add SEO Bar to User list edit
- Set custom namespaces for compatibility files
- Hashtag/pound is removed from theme-color HOT 1
- Typo: "Note: rhe description " on Settings > Homepage > Meta Description HOT 1
- Toggle Sitemap stylesheet header link HOT 1
- Google Tag Manager connection HOT 1
- Sitemap priority setting HOT 1
- Post archive title shows as "No Title - (website name)"
- Site name is not displayed by Google + Schema.org: 'alternateName' is missing HOT 7
- Make archive exclusions work for adjacent post links. HOT 2
- Polylang: Wrong canonical URL for non-default language's homepage HOT 1
- `wp_sitemaps_post_types` vs `the_seo_framework_sitemap_supported_post_types` hook HOT 3
- Add noindex headers to the Core Sitemap
- Add breadcrumb title and hierarchy options HOT 8
- Option to not notify search engines on post update
- Allow setting of custom alternateName(s)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from the-seo-framework.