Browsed by
Tag: plugin

WordPress Plugin – Meta Robots

WordPress Plugin – Meta Robots

Mini project of the day… I did create a tiny WordPress plugin, to add a meta robots header to some of my pages, to prevent them from being indexed by google and other search engines. So without further ado, here’s the source code, to be put in a file: wp-content/plugins/meta-robots/meta_robots.php in your WordPress installation folder: After adding this code, go to your plugin configuration, and enable the plugin. It should show up in the list automatically. To enable the header,…

Read More Read More