HIDE YOUR WEB META..POSSIBLE OR NOT?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mhonnphp
Forum Commoner
Posts: 37
Joined: Fri Oct 12, 2007 11:29 pm
Location: Philippines
Contact:

HIDE YOUR WEB META..POSSIBLE OR NOT?

Post by mhonnphp »

Hello,

Is it possible to hide meta tags using php or
is there any direct way to hide meta tags using html/javascript?
if yes how? please help...
I need this for SEO purposes.

Thanks
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: HIDE YOUR WEB META..POSSIBLE OR NOT?

Post by Kieran Huggins »

You can't "hide" meta tags, the whole point is for them to be visible to search engines.

At the very best you could try to identify the User Agent as a known spider and include them in your output based on that, but I have a feeling it would be problematic at best.

Check out http://searchenginewatch.com/showPage.html?page=2168001 for more.
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Re: HIDE YOUR WEB META..POSSIBLE OR NOT?

Post by JAM »

I'd like to task a followup question; Why do you want to hide the meta info? There is always the possability to change (and by that, remove aswell) meta's using header(). But this shouldn't be something that has to do with SEO(?).

Please clarify why you need to hide them because for me personally, there's no real reason why anyone would want to do that. Just personal interest.
User avatar
Inkyskin
Forum Contributor
Posts: 282
Joined: Mon Nov 19, 2007 10:15 am
Location: UK

Re: HIDE YOUR WEB META..POSSIBLE OR NOT?

Post by Inkyskin »

If your worried about potential competition 'stealing' the same tags as you - you need not be concerned. Search engines don't just use meta tags, they scrape all of the content on the page too. And a lot of that is cross referenced with your meta tags.

You could have no meta tags at all, but if two sites are very similar, it won't make that much difference between rankings (Providing you both have a similar pagerank and backlinks etc).
mhonnphp
Forum Commoner
Posts: 37
Joined: Fri Oct 12, 2007 11:29 pm
Location: Philippines
Contact:

Re: HIDE YOUR WEB META..POSSIBLE OR NOT?

Post by mhonnphp »

JAM wrote:I'd like to task a followup question; Why do you want to hide the meta info? There is always the possability to change (and by that, remove aswell) meta's using header(). But this shouldn't be something that has to do with SEO(?).

Please clarify why you need to hide them because for me personally, there's no real reason why anyone would want to do that. Just personal interest.

Inkyskin is right, I'm worried about our competitors.
anyway, thanks Kieran Huggins for clarification about meta tags
and Inkyskin for additional information.

Thanks again and God bless
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: HIDE YOUR WEB META..POSSIBLE OR NOT?

Post by Benjamin »

You could only display them to search engines by identifying them at runtime.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: HIDE YOUR WEB META..POSSIBLE OR NOT?

Post by Kieran Huggins »

Just for clarification: if you send the meta tags to search spiders they'll be indexed in the search engine's cache, which is visible to all. There's really no sure fire method to maintain SEO secrecy.
Post Reply