Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #919307

    Hi there,

    I’ve been getting a ton of issue warnings from my SEO service that are related to pages going to the 404 page using a link that has /?s= at the end of it. And it gets appended to the referrer and so I end up with dozens of error messages. In the code it looks like this. (See image link attached.)

    Wait – I can’t remember the name of the site where i can post pictures to show you. Can you remind me?

    Any idea how I can remove or disable or whatever that bad link?

    #919898

    Hey Dandelion222,

    That is not an actual error. WordPress is using it for search – and actually for good SEO you do have to disable it.
    The best idea to stop those error is using the following plugin

    Best regards,
    Basilis

    #919929

    Hi,

    I am already using a redirection plugin. I’m not sure this is really the issue. It’s hard to understand what you are trying to say. What do you mean “WordPress is using it for search?” Using what for search? What search? Why is it appearing on my Enfold websites but not the others?

    But I’ve figured out how to post a screenshot, so I have posted 2 to help you understand what I am getting at.

    #920283

    Hi,

    Please try to disallow the search query or search pages from being crawled in the robot.txt file.

    // https://kriesi.at/support/topic/gwt-problems-indexing-enfold-soft-404-with-search-activated-s/page/2/#post-888709

    Best regards,
    Ismael

    #920405

    I will check into that and let you know how that goes. Thanks.

    #920428

    That’s it – the same issue I am having! Fortunately, in this case I am fine to just turn off the search feature for now. But how?

    I’ve looked through all the settings and I am not seeing that option. It is not in Header > Extra elements as the first post suggests.

    #920724

    Hi Dandelion222,

    This code added in functions.php will do the trick

    
    add_action('after_setup_theme', function() {
    	remove_action( 'wp_ajax_avia_ajax_search', 'avia_ajax_search' );
    	remove_action( 'wp_ajax_nopriv_avia_ajax_search', 'avia_ajax_search' );
    });
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.