Skip to content

Instantly share code, notes, and snippets.

@titomus
Created August 10, 2017 07:46
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save titomus/3525d1557dd7ce1092bdd6f8a666ee90 to your computer and use it in GitHub Desktop.
Fake Dofollow
<?php
function fake_df(){
header("X-Robots-Tag: nofollow", true);
}
// utilisation (ATTENTION: à utiliser avant affichage de la page sinon ERROR)
fake_df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment