How To Disable Search Engine Indexing On A Specific WordPress Post

By -

Most of the time, you want Google to index your posts as soon as possible. But if you want to disable search engine indexing on a specific WordPress post, just use this trick. We will use custom fields to prevent Google and other search engines from indexing a specific page of your WordPress website.

Open your header.php file and paste the following code between the <head> and </head> tags:

Now whenever you want to disable search engine indexing on a specific post, just add a custom field: noindex-post with any value in it to your post, and it will tell search engines to not index that page.

Hope this article helped you. If it helped you then please consider making a small amount of donation. Any amount, even $1.00, is appreciated.

Teen blogger and a huge pro-wrestling fan. Also known for bunch of websites. Formerly worked as a lawn gnome and scare crow.

Leave a Reply

Although WordPress is mostly secure, a hacker will know his way through it, so here is a compilation of my ways to make it a tough job for him. Improve WordPress Security is a small guide which takes you from all the basic security practices to all the way to the expert methods.