Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress remove noindex programmatically

// force to remove noindex and nofollow
if($_SERVER['HTTP_HOST'] == 'live-domain.sample'){
    update_option('blog_public', '1');
} else {
    update_option('blog_public', '0');
}
 
PREVIOUS NEXT
Tagged: #wordpress #remove #noindex #programmatically
ADD COMMENT
Topic
Name
3+1 =