Tagged: Hide Post From Google Search
This topic contains 5 replies, has 2 voices, and was last updated by StartupWP 4 years, 11 months ago.
- AuthorPosts
- May 2, 2014 at 2:17 AM #1580
Hello,
I have a post which I will like to hide it. I am able to hide it from my site search result by using plugin. However, when I go to this google search (http://www.example.com/tags/xxxxxxx), I can see the post is there. And then, from menu URL bar (http://www.example.com/xxxxx), the post is also there.
Is there any way to hide it ? Please advise.
Thanks.
May 2, 2014 at 4:02 PM #1581If you just want to hide it from search engines, you can use a number of SEO plugins to noindex it, for example if you already have the following plugin installed, you can do it there:
http://wordpress.org/plugins/all-in-one-seo-pack/
If you want to password-protect a page you can do that from the page editor:
https://codex.wordpress.org/Using_Password_Protection
And more specifically:
https://codex.wordpress.org/Using_Password_Protection#Hiding_Password_Protected_Posts
There are of course .htaccess tricks we can use as well if none of these options suffice.
May 4, 2014 at 5:13 AM #1582I am aware that posts can be hidden by using those 3 ways, but as for using .htaccess trick (I mean posts), I haven’t come across this yet. Is there any details post or tutorial of how to hide post using .htaccess ?
Thanks.
May 4, 2014 at 7:55 PM #1583Say you wanted to block access to http://yourwebsite.com/your-page-slug-here/ you could try:
RewriteRule ^your-page-slug-here$ - [F]
May 6, 2014 at 3:36 AM #1584Thanks.
May 6, 2014 at 9:12 PM #1585You’re welcome.
- AuthorPosts
You must be logged in to reply to this topic.