GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   Wordpress and h1 tag question (https://gfy.com/showthread.php?t=994558)

Rick Diculous 10-26-2010 09:41 PM

Wordpress and h1 tag question
 
I have a couple of wordpress blogs and I'm changing the text title for custom made headers.

I don't want to remove the h1 tag, and I don't want it to be visible in the header.

What would be the best way for it not to show up in the header but still have it in the code so that SEs can pick it up

iMind 10-26-2010 10:24 PM

<h1 style="display:none;"> SE spam title here </h1>

I don't know if google would penalize you for this, the other option would be use positioning and hide it off the page, or under your header or something.

I'm no SEO so others can fill in those blanks.

Rick Diculous 10-27-2010 04:13 AM

Quote:

Originally Posted by iMind (Post 17644230)
<h1 style="display:none;"> SE spam title here </h1>

I don't know if google would penalize you for this, the other option would be use positioning and hide it off the page, or under your header or something.

I'm no SEO so others can fill in those blanks.

Just read on SEO forums that hiding it is considered blackhat and I would be penalized.

I'll find a way to include it somewhere nice in the mainpage file

Lifer 10-30-2010 08:48 AM

Perhaps you could use the <!-- H1 stuff here -->

If you do this, I think you have to have the <!-- on one line and on the next line you put your <h1> stuff </h1> followed by a third line of -->

For some reason, if you put it all on one line, it can screw up


All times are GMT -7. The time now is 05:11 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc