• Resolved revina2001

    (@revina2001)


    I am using a different custom search engine (provided by my theme) than the default WordPress search engine (/?s=keyword) in my site. So I want to change the sitelink url in my website which is automatically added by yoast as “/?s={search_term_string}”. In this article on your website, you mention about using a built-in filter to achieve this. But there are no further instructions to do so. Please help me regarding this matter. I want to change the sitelink url to “/ads/?keyword={search_term_string}”.

Viewing 1 replies (of 1 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @revina2001,

    Thanks for using the Yoast SEO plugin.

    You can use the?wpseo_json_ld_search_url?filter to replace the search parameter variable?{search_term_string}?. You can learn more here.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.