/ Published in: PHP

A blank search in wordpress returns all the posts, which could be taken as duplicate content if that got indexed.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# Redirect Empty Searches to root RewriteCond %{QUERY_STRING} ^s=$ RewriteRule ^ /? [L,R=301]
URL: http://forrst.com/posts/301_Redirect_Empty_WordPress_Searches_to_Root-05C
Comments
