Hiding Page Titles By Display None
-
Hi. I am new to this community, and new to SEO as well. A friend asked me to give them suggestions on onsite optimization for their Drupal website.
I know page titles are very important, and usually they should be set to H1. (At least I think) This particular website has all their page titles set to H2 and they are using display:none in their stylesheet to hide them for graphic design reasons.
What would be the most practical work around for this? We don't want this to appear sketchy in the eyes of the SE's, but putting page titles at the top of their pages really would take away from their graphical design.
The second issue is that they use a module called Quicktabs for tabbed product specs on each page. Each tab is actually pulled from a post (called a node in Drupal), so each tab has it's own title that is an H2. So not only are they hiding the main page title, but they are hiding 5 others within the tabs, and their are 6 H2 elements showing up on each product page all set to display:none.
Any creative suggestions?
Hope that makes sense....
Thank you!
-
WOW! Let me just say that again, WOW!
Yes, I would suggest a Drupal person or perhaps a better template. This one seems out of date as it still uses inline CSS. As Mary Anne mentioned, there are other issues as well.
Before you try and re-write everything for the H2s, I would look at some other code issues such as the alt tags.
Personally, I would look for another template after talking to someone who knows Drupal.
All the best
-
Thanks Maryanne,
I will definitely mention those image sizes. They are pretty large.
I need to get an H1 onto these pages. H1's are important, right?
In your opinions, what would be the most effective/least harmful method of doing this....for short term until we can figure something better out.....
- Set the hidden titles to be H1's instead of H2's?
or
- Manually go into each page and create an H1 using the post WYSIWYG editor? (Using this method, the H1 would come AFTER the H2, but at least it would not be hidden)
What are your thoughts?
-
Sheesh...I knew I wasn't losing my marbles when I thought this looked more complicated than normal. This CMS is Drupal.....just FYI, here's what is happening...
These pages are made in a module (equivalent to a plug in for Wordpress) called Panels. With panels, you can define content areas within your page, kind of like creating
sections. Eachsection is called a pane. In this case, they pulled in the information they are showing in each pane through another module called Views. So, on the lt3g page, there are 2 different panes above the tabbed section.
When you create a pane, Drupal asks you for a pane title. The tabs at the bottom are also a module that pulls posts into a tabbed section. Since each post has its own title, each tab shows an H2. In total, there are 10 H2s on this page!!
And the Analytics code is Google anlaytics installed into a pane. (I don't think they had to install the code onto every page, but they did), and they titled the pane 'Analytics'
I think this might be a job for a Drupal themer. Maybe that's what I will propose this company look into.
Also, for the
| FRS Custom Solutions, which indicates there should be something before the pipe, the <title>tag would go before the pipe, and installing the page_title module would allow you to define that.</p> <p>Usually I hear good things about Drupal, but I think in this case, with the use of panels to make pages, it just complicated things.</p></title>
-
Although the hiding of those headers is a little odd, I doubt you'd get hit for it as the hidden h2's are all consistent with the displayed content - it doesn't look (to me, at least) like anything's being done in a spammy manner. H2's are a very weak ranking factor to begin with, and It's not like you're keyword stuffing or trying to rank for irrellevant keywords. Of course, if you can find someone who can tweak things and treat those elements appropriately, all the better.
Off topic, but you may also suggest to your friend that they optimize their images. Those image files on the first page you mentioned are very large for the sizes at which they are being displayed and needlessly add to the page load times.
-
On the LT3G page, you have these elements that should be headers.
- ComLink LT<sup>3G</sup>
- <sup>MEDICARE APPROVED</sup>
- <sup>ComLink LT<sup>3G</sup> - Product Overview</sup>
- <sup>With the ComLink LT<sup>3G</sup>, you can:</sup>
But they are manipulated by in-line CSS. Even though there are H2s with appropriate text for the header?
Then you have this
## Products-LT3G Main Image
Which would go above your image LT3G-Rtg-Rot-Web.png
So you are saying you do not need the text atop the image for esthetics. Which is understandable.
Therefore, why do you not have that H2 tag classed to swap the text for the image? Or can you not manipulate your CMS this way?
On the Company page I am not sure why the H2 is below the text.
## Analytics Code
And what is the analytics code? : )
First, and for other reasons than the H2, this CMS is not very good. I feel as though you will continue to have many issues moving forward. Such as page titles. For the company page you have | FRS Custom Solutions which indicates that there should be something before the pipe (|).
I do not see yet a clear way out of this as the H2s are used for headers in some cases and then for nothing in others such as the analytics code.
Am I following this correctly, or totally missing the boat here?
-
No, I have no control over showing it. Drupal forces you to give each page a title.
http://www.frs-solutions.com/content/comlink-lt3g
Here is a link to one of the inner pages. This page has an image. But here is a page with no image: http://www.frs-solutions.com/content/Company
I am not knowlegable enough with CSS and creating template pages to go about having the title display as an image on some pages, but as text on others.
-
the first question would be why have it at all if you do not want to show it. I presume you have no control over it showing?
Then I would ask; in that space, what is showing now and why could you not swap for an image?
It might be better for you to post the URL of the site so I can see what you are trying to accomplish.
-
Ok. That's what I thought. But I wasn't sure. Do you know, is there any legitimate way to hide a post title (that's forced by the CMS) from both SE's and visitors without using the image swap method?
-
Sketchy as it adds no value to the visitor. It just depends on how often SEs look at CSS as to if/when you will get penalized. They might not look at the CSS unless they see other indicators.
What you are doing I would consider keyword manipulation, and that is sketchy.
Always look at the value of what you do with respect to visitors. If it adds no value, don't do it.
I hope that helps
-
Hi Richard,
Thanks for your response. Sorry if I was unclear...I am referring to the titles of the post. Not the <title>tag. Drupal forces you to give each post a title. And yes, the post titles are set to display as H2's, but the H2's in the stylesheet are set to display:none like this:</p> <div class="cssHead focusRow "><span class="cssSelector ">h2</span> {</div> <div class=" "> <div class="cssPropertyListBox "> <div class="cssProp focusRow editGroup "><span class=" "> </span><span class="cssPropName editable ">color</span><span class="cssColon ">: </span><span class="cssPropValue editable ">#595959</span><span class="cssSemi ">;</span></div> <div class="cssProp focusRow editGroup "><span class=" "> </span><span class="cssPropName editable ">display</span><span class="cssColon ">: </span><span class="cssPropValue editable ">none</span><span class="cssSemi ">;</span></div> <div class="cssProp focusRow editGroup "><span class=" "> </span><span class="cssPropName editable ">font-size</span><span class="cssColon ">: </span><span class="cssPropValue editable ">22px</span><span class="cssSemi ">;</span></div> <div class="cssProp focusRow editGroup "><span class=" "> </span><span class="cssPropName editable ">margin</span><span class="cssColon ">: </span><span class="cssPropValue editable ">0.8em 0</span><span class="cssSemi ">;</span></div> <div class="cssProp focusRow editGroup "><span class="cssSemi "><br /></span></div> <div class="cssProp focusRow editGroup "><span class="cssSemi ">There is no image swapping or text indent. So, search engines CAN see the H2, but visitors can't. Would this be considered sketchy or creative CSS?</span></div> <div class="cssProp focusRow editGroup "></div> <div class="cssProp focusRow editGroup "><span class="cssSemi ">And no, they are not in order... H2 obviously comes first on the page, followed by an H1 element if it's manually inserted onto the page.<br /></span></div> </div> </div></title>
-
Hi April,
Headers and Titles are different, so are you saying that Drupal pulls the title from the H2? If so, are you swapping out the text for an image, or just moving the text off the screen?
It is not uncommon to move text off the screen and swap that placeholder with an image, although it would look a bit sketchy to just move the text out of sight.
[Without direct knowledge] I don't believe Google is penalizing for creative CSS work unless they spot sketchy behavior such as moving lots of text out of view, which they would see as adding no value to the visitor, but would see it as keyword manipulation.
When you swap for an image, you have to define a size for the image space. This would indicate to the SEs that you are in fact moving text and swapping for an image of a certain size.
Sketchy would look like text indent of -9999px with no width or height size or with a very small width or height size of perhaps a couple pixels. Or not even indicating an background image for the div.
In short, if you are swapping text for an image, you are fine and this is common practice as long as SEs can see that this is for visual enhancements rather than keyword manipulation.
I would not worry as much about which headers are used as long as they are used in order. Such as H1s followed by H2s followed by H3s followed by H4s. Not H2s then a H3 then H1. Not that this would penalize you, but it is best practice.
I hope this answered your question
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Is the URL Matching the Page Title Important?
Hello I have tried searching for an answer on this but I can't get a clear answer due to the results when searching for URL title. I have just launched our second Shopify site for one of our brands. My first site launched in 2014 but when I launched I didn't pay much heed to SEO for page titles, URLs, etc so have retrospectively fixed this over time. For my Shopify site just launching I want to get it as right as possible from the start (learning from mistakes). My question is regarding URLs and what my approach should be for better SEO. So, I have a page with a Title of Newton Leather Wallets, Purses, Card Holders & Glasses Cases and the URL is https://www.tumbleandhide.com/collections/newton-leather-wallets-card-holders It was my understanding that I should try and make the URL reflect the Page Title more accurately. The problem is that this takes the character count to 77. On other pages it can be in the 80s. Will the above link be better for SEO than say just https://www.tumbleandhide.com/collections/newton I am just wary of the URL's being too long as my Moz Site Crawl is returning a lot of URLs that are too long. Thanks in Advance.
On-Page Optimization | | lukegj0 -
Renamed a page and created a 301, page lost its rankings.
We changed a page name to fall under the root of our site from domain.com/page1/page301d/ to domain.com/page301d/ and after 2 weeks it still is not back to its #3 position. Now it is on the bottom of page 3. I cant figure out what im doing wrong here. The original .com/page1/ that this page fell under was removed totally and redirected to antoher page that was more relevant. I went ahead and re-enabled this page and its contnent, because the page was linking out to the page we 301d. This page we re-enabled had about 150 links poitning to it and therefore i was thinking that maybe the link juice from this page (or relevancy) via an internal link was helping it rank. This was updated about 6 days ago and the internal link is back Any other ideas why this might not be working. Ive checked all the 301s, content has not changed on the page. We have updated the strcuture for many pages. Instead of having the pages in question fall under anotehr page, they all fall under the root and its sub content is now only 2 levels deep , instead of being 3. hope that makese sense.
On-Page Optimization | | waqid0 -
Is it better to try and boost an old page that ranks on page #5 or create a better new page
Hello Everyone, We have been looking into our placements recently and see that one of our blog posts shows on page #5 for a popular keyword phrase with a lot of search volume. Lets say the keyword is "couples fitness ideas" We show on page 5 for a post /couples-fitness-ideas-19-tips-and-expert-advice/ We want to try and get on the first page for that phrase and wanted to know if it is better if we did one of the following: 1. Create a new page with over 100 ideas with a few more thousands of words. with a new url (thinking /couples-fitness-ideas) 2. Create a new page with a new url (thinking /couples-fitness-ideas) with the same content as the currently ranking post. We would want to do this for more freedom with layout and design of the page rather than our current blog post template. Add more content, let's say 100 more ideas. Then forward the old URL to the new one with a 301 redirect. 3. Add more content to the existing post without changing the layout and change the URL. Look forward to your thoughts
On-Page Optimization | | MobileCause0 -
Why is Google replacing my meta title with the business name on home page?
For all queries that return the home page, Google is not showing my meta title. Instead it replaced it with the official business name which of course makes it harder to rank for key terms since they don't exist now in the meta title. You can see this is you search on "mt view estate planning attorney". The site in question is dureelaw.com and the title showing is "The Law Office of Daniel L. DuRee." View the source and you'll see my meta title. Why is Google substituting it?
On-Page Optimization | | katandmouse0 -
Ranked page is not desired page
I have a question on a problem I am currently faced with. There is a certain keyword that my employer wants to rank for. The good news is that sometimes it does rank in the top 5 pages of Google. (It drops in and out) The bad news is that it is going to a page that we need to keep, but not the ideal place we want people who are looking for that keyword to go to. I was wondering if anyone has had any experience with this type of situation and what tactic they used to get people to the better page.
On-Page Optimization | | trumpfinc1 -
Local Service Pages
We've all been here before if you do local. What type of content should go on a local service page when dealing with multiple service locations? You could: Describe Services List Local News Articles List staff in that location (although I would prefer in the staff page for that city) Testimonials from that location or service But what happens when you are describing something that needs no explanation. Or a medical procedure that requires no localization and altering the wording can actually cause legal problems if misstated. Matt Cuts recommends a few sentences to a paragraph to describe a service, but my experience hasn't found this to hold up locally. Any ideas or suggestions about how this could be remedied?
On-Page Optimization | | allenrocks0 -
Home page keyword effecting internal page ranking
Hello, My client has a second keyword for the home page that is competitive. The home page is not being ranked for this keyword. Instead, an internal category page is ranking. This internal category page is more relevant than the home page - it shows the categories for the actual products that this term refers to. But everyone around us in Google's page results has far more backlinks than the internal page, and we're all heavily optimized for this term. My question is, is it safe to pull the second term off of the home page or is this internal page strong because it is somehow being strengthened by the home page optimization?
On-Page Optimization | | BobGW0 -
Would it be bad to change the canonical URL to the most recent page that has duplicate content, or should we just 301 redirect to the new page?
Is it bad to change the canonical URL in the tag, meaning does it lose it's stats? If we add a new page that may have duplicate content, but we want that page to be indexed over the older pages, should we just change the canonical page or redirect from the original canonical page? Thanks so much! -Amy
On-Page Optimization | | MeghanPrudencio0