nystudio107 / seomatic

DEPRECATED A turnkey SEO implementation for Craft CMS 2.x that is comprehensive, powerful, and flexible
Other
357 stars 45 forks source link

SiteLinks Search box: Invalid LDJSON output #353

Closed rob-baker-ar closed 6 years ago

rob-baker-ar commented 6 years ago

When setting a Search Target URL Pattern to something like:

https://domain.com/search?q={search_term_string}

And the search query input to:

search_term_string

Expected LDJSON output would be:

"potentialAction":{"@type":"SearchAction","query-input":"search_term_string","target":"https://domain.com/search?q={search_term_string}"}

But ends up being:

"potentialAction":{"@type":"SearchAction","query-input":"search_term_string","target":"https://domain.com/search?q="}

SEOMatic Version: 3.0.23 Craft CMS Version: 3.0.12

rob-baker-ar commented 6 years ago

I have just realised this should have been posted here:

https://github.com/nystudio107/craft-seomatic/issues

... As that seems to be for the Craft 3 version. Is it possible to move this issue or should I re-post?