How to prevent internal search result from being indexed?

[ad_1]

Hello @chcw

Thanks for using the Yoast SEO plugin.

I see that your site is a victim of internal search spam. You can filter search spam using crawl optimization settings in the plugin. Navigate to WordPress > Yoast SEO > Settings > Advanced > Crawl Optimization and scroll down to Internal site search cleanup. Then toggle the respective buttons. You can learn more: Internal site search cleanup

Thread Starter
chcw

(@chcw)

Hi, @maybellyne

Thank you for your great answer.

One more question, if I enable “Redirect pretty URLs to ‘raw’ format“, will that change my permalink settings.

I just make a test, and it seems it will NOT change the permalink setting(mine is post name,

Redirect pretty URLs to ‘raw’ format doesn’t change your permalink settings but redirects pretty URLs for search pages to the raw format. It’s specific to search pages not the site-wide permalinks

  • This reply was modified 30 minutes ago by Maybellyne.

Thread Starter
chcw

(@chcw)

Hi, @maybellyne

I see. Thank you so much for your quick and helpful reply.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer