Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'wpseo_robots', 'yoast_index_search', 10, 1 );
- function yoast_index_search($str) {
- if (is_search()){
- return 'index,follow';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement