View Full Version : Hide content from SE
v123shine
12-03-2014, 04:59 PM
I'm using this code to hide content from SE but real user (from browser like firefox, chrome, opera) can view the content.
<vb:if condition="!$show['search_engine']">
hide from spider / search engine.
</vb:if>
When I try search engine still can view the content.
Can someone help me, please!
Thanks
Max Taxable
12-03-2014, 05:09 PM
Trying to hide threads? There's a Mod for that:
https://vborg.vbsupport.ru/showthread.php?t=269201
v123shine
12-03-2014, 06:15 PM
Thank you very much "Max Taxable" but I don't need that mod.
Can someone help me, please!
Max Taxable
12-03-2014, 06:16 PM
What exactly are you trying to hide? Single posts, threads? Whole forums?
Once something is already indexed and cached, it stays in searches for quite awhile after you hide it.
You can use a 'robots.txt' file to tell the search engine bots not to index, but only the legitimate bots will pay any attention to it.
If you want to outright ban spiders, the code you're using won't do it. There's a mod for that too.
Ban Spiders by User Agent. (https://vborg.vbsupport.ru/showthread.php?t=268208)
Zachery
12-03-2014, 07:21 PM
This is also known as content cloaking, and in some cases can get you blacklisted from google/etc completely.
v123shine
12-05-2014, 12:42 PM
Thanks Max Taxable but I don't need that mod.
What going on why I can't using this code? Can someone help me, please!
<vb:if condition="!$show['search_engine']">
hide from spider / search engine.
</vb:if>
cellarius
12-05-2014, 02:08 PM
How do you determine that it does not work?
v123shine
12-05-2014, 11:22 PM
That very simple, I create bots view page to check it.
How do you determine that it does not work?
ozzy47
12-05-2014, 11:40 PM
How is it you are creating bots?
v123shine
12-07-2014, 01:43 AM
Dear Ozzy47,
Can you help me, please!
Max Taxable
12-07-2014, 02:50 AM
The script can tell it's a spoofed UA. It can tell your browser still.
I am yet to be able to determine exactly what it is you're trying to do, specifically. You want your forum to be private, hidden from all search engines but still allows browsers?
Max Taxable
12-07-2014, 03:27 AM
And firstly, your code is malformed. This part:
hide from spider / search engine.
Has nothing associated with it and therefore does nothing but place that text at the top of your rendered page.
Try it yourself, put your code in your header template to assure it is called on all pages.
The code you are trying to use will do nothing.
And P.S. - Your signature link is a dead link.
ozzy47
12-07-2014, 09:24 AM
No Max, hide from spider / search engine. is just the placeholder for the page html, it is not the actual code. ;)
Well <vb:if condition="!$show['search_engine']"> is not globally available, it is only available in forumdisplay IIRC
This is because it is not wise to hide things from search engines that guests can see, this will get your site blacklisted from all the major search engines, and it might happen pretty quick, as they have been cracking down on it.
v123shine
12-07-2014, 04:08 PM
Dear Max and Ozzy47 many thanks for you time to help me.
I know search engine can blacklisted my site, but I really need that.
I want to hide "Powered by vBulletin....and bla bla.." from search engine spider.
I want protect my site from spammer bot :( . I believe spammer find my site from Google or others search engine. And I know in vbulletin.org I can find so many anti-spam addon. I already use anti-spam, but I still need to hide that copyright.
Can someone help me, please!
Kind regards,
Shine
ozzy47
12-07-2014, 04:16 PM
Dear Max and Ozzy47 many thanks for you time to help me.
I know search engine can blacklisted my site, but I really need that.
I want to hide "Powered by vBulletin....and bla bla.." from search engine spider.
I want protect my site from spammer bot :( . I believe spammer find my site from Google or others search engine. And I know in vbulletin.org I can find so many anti-spam addon. I already use anti-spam, but I still need to hide that copyright.
Can someone help me, please!
Kind regards,
Shine
Where is it you are trying to do this to, what template?
Also it is not necessary to do that to protect yourself from spam.
v123shine
12-07-2014, 06:24 PM
Where is it you are trying to do this to, what template?
I'm using default vBulletin template.
Can you help me, please!
Kind regards,
Shine
ozzy47
12-07-2014, 06:42 PM
Where, it the header or footer?
v123shine
12-07-2014, 06:53 PM
<i>Where, it the header or footer? </i>
In footer area Sir.
Kind regards,
Shine
ozzy47
12-07-2014, 06:55 PM
That would be a violation of your licensing agreement. If you do not want that information there you need to pay for the branding free. :)
v123shine
12-07-2014, 08:12 PM
Dear Ozzy47,
I just want hide content from search engine spider not for real human. Everyone can view the license but spider can't view it.
I don't know why, this below code don't work for me :erm:
<vb:if condition="!$show['search_engine']">
hide from spider / search engine.
</vb:if>
ozzy47
12-07-2014, 08:16 PM
It don't matter, any way of hiding that from anything is a violation of your licensing agreement. Be it a search engine, bot, spider, ect.
All copyright messages (both in the software code and templates) must be retained and visible.
A 'branding free' license is available at a cost of $170 per license, in addition to the cost of the license itself.
Once you have purchased this option, you will have the right to remove all references to vBulletin from the vBulletin design templates. Note this is for one license only and is in addition to the cost of the license.
Also please note that you must retain all copyright notices within the actual product programming code (these notices do not affect any visible vBulletin pages). Note also this does not allow you to rebrand the software with another name. It only allows you to remove the vBulletin copyright information.
The vBulletin branding-free license concerns the removal of visual branding. The branding-free package available from the members' area does not remove comments or variable names within the program code that mention vBulletin.
v123shine
12-07-2014, 09:18 PM
Thanks for the information ;)
Okay I will not remove the vbulletin copyright.
I also want remove my ads from search engine spider, I don't spider can read my my ads. So I still need that code. Can you help me, please? Many thanks.
Kind regards,
Shine
ozzy47
12-07-2014, 09:22 PM
Only way to do that is not to display the ads to guests.
Also this will not only get you blacklisted from search engines, it will also get you banned from google adsense.
Max Taxable
12-07-2014, 11:31 PM
I want to hide "Powered by vBulletin....and bla bla.." from search engine spider. You can change that phrase, it's no big deal at all. On my boards it typically goes:
vBulletin? platform - Powered by our members. Content Copyright ? 2014 yoursite.com. All rights reserved.
It's true the script kiddies google up vB version numbers by "powered by" to find one that isn't updated or is still vulnerable to some exploits.
Spam however is a different story and hiding your site from search engines won't inhibit it in any way.
ozzy47
12-07-2014, 11:44 PM
You can change that phrase, it's no big deal at all. On my boards it typically goes:
vBulletin? platform - Powered by our members. Content Copyright ? 2014 yoursite.com. All rights reserved.
It's true the script kiddies google up vB version numbers by "powered by" to find one that isn't updated or is still vulnerable to some exploits.
Spam however is a different story and hiding your site from search engines won't inhibit it in any way.
Then that is a clear violation of the license agreement, at a minimum it must say:
"Powered by vBulletin - Copyright ? vBulletin Solutions, Inc. All rights reserved."
Meaning you can remove the link, and the version number.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.