# code not detected
-
Hi guys, my H1 code is like but Yoast SEO and Google Page Speed keeps saying that i do not have a H1 tag in my website, Is my code wrong?
Keyword | Keyword2
-
You have a inside the
but not thethat it is closing. That is just to start. The rest of that code needs cleanup and is mostly unnecessary--you wouldn't need two spans; the letter-spacing has no value, etc.
What is best is to properly define the h1 in the CSS and then use
Your Page Title
.
If you need to modify the h1 (maybe it is defined for a group of pages and on this particular page you want something a little different), do it as simply as possible. (The span attributes in your example probably would not do anything, assuming a white background, though that depends on how the class google-mixed, is defined...)
-
Can you provide the URL?
Grobro is most likely right. If you have an opening
tag before your
tag, the closing
should be after your closing .
-
I am pretty sure it has to with the
tag, try the W3C Tool: http://validator.w3.org/#validate_by_input
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
-
400-499 http status code
Hi there, I noticed in Bing Webmaster Tools that we get the following for the home page.These pages have 400-499 http status code. Ensuring http status 200 might help improve SERP performance and gain user traffic.I haven't seen this before, nothing comes up in Moz or Google Webmaster Tools about it.Is it worth spending time on resolving the issue, I don't see how it affects us as the page loads up perfectly but I don't understand the error.The error shows up for our home page, https : // wwww domainname comWhen checking here we get green ticks for everything sslshopper.com/ssl-checker.html
On-Page Optimization | | IvanaDaulay0 -
Do you need to include the top menu on every single page of the site in the code?
When using cache: on google, and clicking on Text-only version, our site has the top menu gibberish on top? My feeling is that this take away SEO juice from our title and focus keyword. Our website is culinarydepotinc.com
On-Page Optimization | | Sammyh1 -
What is the correct code to write the rel=canonical in the HTML HEAD of the page?
is it like: html> <head> <link rel="canonical" href="http://example.com/" /> head> <body> ...<ref>sdfdfref> or like:
On-Page Optimization | | dubraverd0 -
Does blogging with a wysiwyg negatively affect SEO (vs. hand coding)?
Many bloggers use a wysiwyg editor to write posts. Are there any drawbacks to wysiwyg vs plain text? When I write blogs I prefer to hand code my text to be sure everything is optimized. My feeling is that wysiwyg leads to code bloat and generally fewer optimization opportunities. I have no real evidence. Is there any reason not to use the wysiwyg editor?
On-Page Optimization | | Jason-Rogers0 -
How does Google Detect which keywords my website should show up for in the SE?
When I checked my Google Webmaster Tools I found that my website is showing up for keywords that I didn't optimize for ... for example I optimize my website for "funny pictures with captions", and the website is showing up for "funny images with captions". I know that this is good, but the keyword is dancing all around, sometimes I search for "funny pictures with captions" and I show up in the 7th page, and some time I don't show up. and the same goes for the other keyword. of course I am optimizing for more than two keywords but the results is not consistent. my question is how does Google decide which keywords you website should show up for? Is it the on-page keywords?, or is it the off-page anchor text keywords? Thank you in advance ...
On-Page Optimization | | FarrisFahad
FarrisFahad0 -
Disappearing Rel=Canonical Code
Hi, I've been getting a lot of rel=canonical warnings from seomoz. I went into the original pages and pasted in plain text the following code: link rel="canonical" href="http://www.example.com/blog/my-awesome-blog-post"< (the > are reversed). After a few crawls I couldn't see any effect from posting the code. When I went and checked again, it didn't stay in the wysiwyg editor. It disappeared! We are using Drupal 6. Could someone tell me what code I should be pasting? Thanks!
On-Page Optimization | | OTSEO0 -
Google Webmaster Tools notice of detected unnatural links
Hi Has anybody else ever recieved this message from Google in Google Webmaster Tools and what action did you take to overcome the problem and get your position back - Dear site owner or webmaster of............... We've detected that some of your site's pages may be using techniques that are outside Google's Webmaster Guidelines. Specifically, look for possibly artificial or unnatural links pointing to your site that could be intended to manipulate PageRank. Examples of unnatural linking could include buying links to pass PageRank or participating in link schemes. We encourage you to make changes to your site so that it meets our quality guidelines. Once you've made these changes, please submit your site for reconsideration in Google's search results. If you find unnatural links to your site that you are unable to control or remove, please provide the details in your reconsideration request. If you have any questions about how to resolve this issue, please see our Webmaster Help Forum for support. Sincerely, Google Search Quality Team
On-Page Optimization | | AMG1000 -
Detecting SE traffic on a landing page
Hi all, I am trying to optimize our landing pages in order to getting new visitors to make an action instead of leaving. But in order to so, I need to be able to identify when a user comes from a Google search and when a user does not. Can anyone help me? The site is written in PHP. Best regards, Rasmus
On-Page Optimization | | rasmusbang0