Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Yoast no index for all query string
mbcreation
Apr 28th, 2015
329
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
PHP
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
add_filter
(
'wpseo_robots'
,
function
(
$robots
)
{
if
(
strpos
(
$_SERVER
[
'REQUEST_URI'
]
,
'?'
)
!==
false
)
return
'noindex,follow'
;
return
$robots
;
}
)
;
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
This month smells like money
CSS | 8 min ago | 0.15 KB
✅ Admin Password
CSS | 17 min ago | 0.15 KB
dev loader method
CSS | 26 min ago | 0.15 KB
Exploit
CSS | 36 min ago | 0.15 KB
Free money using older build
CSS | 45 min ago | 0.15 KB
✅ Changelly.com Exploit
CSS | 54 min ago | 0.15 KB
Untitled
2 hours ago | 71.83 KB
Untitled
3 hours ago | 0.52 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!