Created
July 2, 2019 03:54
-
-
Save itsnahidhasan/346812872642e96b3cb66f98509a3bd0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** paginated page indexation fixing - paste it to function.php file**/ | |
function mushfiqco_paginated_page_fix() { | |
if(is_paged()) echo '<meta name="robots" content="noindex,follow"/>';} | |
add_action('wp_head', 'mushfiqco_paginated_page_fix'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment