Forums Forums Search Search Results for 'yoast'

Viewing 10 results - 21 through 30 (of 70 total)
  • Author
    Search Results
  • #204188

    Trevor
    Participant

    Thank you. It would be possible to add some conditionality to that code to add noindex if you wanted it WHEN there are search and filter search query strings attached to the bases URL.

    Somehow, Yoast must be detecting that our plugin is working on those pages otherwise.

    Can I mark this thread as resolved for now?

    #204185

    Anonymous
    Inactive
    add_filter( 'wpseo_robots', 'yoast_seo_robots_remove_search' );
    function yoast_seo_robots_remove_search( $robots ) {
      if ( is_search() || is_404() || is_archive() ) {
        return false;
      } else {
        return $robots;
      }
    }

    Trevor
    Participant

    The code is trying to find the WordPress search string, but there is not one. Instead is our search string, which it will not find. You would need to somehow change the Text string it uses to a more generic string, like ‘Search Results’.

    Yoast SEO is very configurable, so first see if there is a title section for the search page, and if not it has many hooks one of which might enable you to do this.


    Anonymous
    Inactive

    Hi,

    I’m building a website with Elementor Pro, where I use Yoast SEO for breadcrumbs. I also added the Search & Filter Pro plugin to make the search result page a bit better, but when using the S&F search box my breadcrumbs only show “You searched for ” “”. Why is that?

    Thanks in advance,
    Daniel

    https://regionen.markus.se/energikontoret/?s=&_sf_s=Test (right sidebar search box is from your plugin)

    #202117

    Trevor
    Participant

    I think this post by Ross (our developer) on this topic might answer your question:

    https://support.searchandfilter.com/forums/topic/eta-on-v-3-seo-yoast-conflict/#post-185014

    #202092

    Anonymous
    Inactive

    I’m trying to get the item I’ve searched for title to show in the SEO title but it’s not showing. I’m using Yoast

    #197753

    Anonymous
    Inactive

    Hi,
    Just wanting to check that S&FP is fully compatible with WP version 5.0.2?

    I just installed, activated (version 2.4.6)…
    Went to Search & Filter License, and entered & activated the license.
    Then went to settings, to look over everything – didn’t change anything.
    Then to Search & Filter > And new Search Form, and got the following…

    Warning: Creating default object from empty value in /srv/www/SITE/public_html/wp-admin/includes/post.php on line 662

    The above file/line reads
    $post->post_content = (string) apply_filters( 'default_content', $post_content, $post );

    Tried a default theme (2019), and disabling all other plugins, still the same.

    Maybe worth noting, with Yoast active, I got the following:
    Fatal error: Uncaught TypeError: Argument 2 passed to WPSEO_Link_Watcher::save_post() must be an instance of WP_Post, null given, called in /srv/www/SITE/public_html/wp-includes/class-wp-hook.php on line 288 and defined in /srv/www/SITE/public_html/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php:43 Stack trace: #0 /srv/www/SITE/public_html/wp-includes/class-wp-hook.php(288): WPSEO_Link_Watcher->save_post(0, NULL) #1 /srv/www/SITE/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /srv/www/SITE/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /srv/www/SITE/public_html/wp-includes/post.php(3747): do_action('save_post', 0, NULL, false) #4 /srv/www/SITE/public_html/wp-admin/includes/post.php(628): wp_insert_post(Array) #5 /srv/www/SITE/public_html/wp-admin/post-new.php(70): get_default_post_to_edit('search-filter-w...', true) #6 {main} thrown in /srv/www/SITE/public_html/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php on line 43


    Trevor
    Participant

    Hi Jamie

    I am sorry, my last post was not clear. That was my fault. I cannot see the Linkedin report, as it asks me to log in. That was what I wanted you to take a screenshot of.

    This will be very difficult to tie down, as it appears to be a combination of Search & Filter pro, Toolset and Yoast SEO. Any one of these could be the real cause.


    Anonymous
    Inactive

    Hi Trevor,

    We are indeed using Yoast. Here’s the post inspector result: https://www.linkedin.com/post-inspector/inspect/internchina.com%2Fcoop-scholarships.

    Cheers,

    Jamie


    Trevor
    Participant

    How are you adding the OG data? Are you using Yoast SEO or another tool? What does the https://www.linkedin.com/post-inspector/ say?

Viewing 10 results - 21 through 30 (of 70 total)