Why does the Moz Tool Bar show code as HTML text for my site?
-
When I run my site in the Moz Tool bar, all of the page elements are read correctly except for HTML text.
Sample page: http://www.lifeionizers.com/blog/alkaline-water/electrolyzed-reduced-water
Instead of the text on that page, the tool shows Javascript code:
/*
With a very high character count for text (14,247).
-
We have a partial victory! The Moz Bar works on the blog, but it appears we have a problem with a noscript script on other pages of the site, such as the homepage. The Moz On Page grader works for blog pages now as well. Before this fix, it was showing all F's, no matter how well optimized the page was.
Thanks!
-
Hey,
I took a closer look at your page and it looks like what's happening is that you had a Facebook Script snippet in your body.
I used Chrome's Dev tools to move the script from the body to the end of the head and Mozbar is showing proper words now: http://goo.gl/Zpcwme
It's important to note that I'm not a Javascript developer, so I don't know if there was an explicit reason to have that code there. Generally scripts will need to go in the head tag or on a separate page and referenced. You'd want to confer with your dev team on this to make sure that's a viable solution for you.
But that is what's going on.
I hope that helps.
Cheers,
Joel. -
I removed the Javascript comments but it didn't fix the problem. The Moz Bar now shows the same line of code without the comment code:
(function(d, s, id) { var js, fjs = d.getElementsB...
-
Hi Karasd,
Thanks for writing in. Looks like the MozBar crawler isn't quite smart enough to figure out some of the code on the page, specifically this snippet:
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
-
How can I be sure Moz Campaign for blog is working?
I set up a Moz Campaign to track my blog domain (made a separate one for our website) and added in keywords I've optimized our blog posts for. I've spent about 2 months optimizing pages and there's been no change in the numbers I see in the dashboard (specifically Search Visibility and Top National Keywords) and Rankings module. It all basically says either 0 or '--'. I think I've set this campaign up right because the website campaign has been changing and showing different results in the same amount of time. I'm going to ask the stupid question -- is this because I've set up the blog campaign wrong, my site is blocking Moz from accessing blog data or my SEO efforts simply aren't working? Please help. I need a sanity check here. Thank so much in advance!
Moz Bar | | Visier0 -
Moz is finding phantom pages
I suddenly have 4xx errors in my crawl diagnostics because pages with “/%3C/div” added to the end of the URL that are linked from the normal page can't be found. I didn't create the pages, and they don't exist, but Moz thinks that they do. I went back through to see if any changes in WordPress, theme or plugins versions might be the cause, but this is the only site that I have this issue, so I don't think that is it. Does anyone have an idea what causes this?
Moz Bar | | samuelldrew0 -
Perplexed by last MOZ crawling duplicate content errors
In the last crawler issues report from MOZ I can see many many pages listed as duplicate content with 0 duplicate urls. Like this: http://imgur.com/fbikRVq I am puzzled, what does it mean?
Moz Bar | | max.favilli0 -
Why is the exact same URL being seen as duplicate and showing an error in my SEO reports
Well, I am still having duplicate page issues. I have a question about one of the errors SEO is giving me when I download a crawl report. I am going to attach a screen shot of part of the report so you can see for yourself, along with explaining it here. SEO shows the list of URL's that it crawled in the report. In this(see attachment) portion of the report it has 321 results for the exact same URL. It also says all of these exact same URL's have received a 404 error. What I want to know is how does it make 321 results for the same URL? And with this error that I don't see when I look at the page? 0hkRDST
Moz Bar | | JoshMaxAmps0 -
Moz Local Time Frame
I must have missed it. How long does it take Moz Local to do its thing once the service has been paid?
Moz Bar | | RelativeHealing0 -
Moz Analytics only working with Google Analytics?
Hi, My company uses Piwik for analytics. Do you know if there is a way to make the new Moz Analytics work with Piwik? Or if Piwik support will be provided at some point? Thanks! P.S. : I know it would be easier to switch to Google Analytics, but for many reasons we can't 😞
Moz Bar | | Xilopix0 -
Moz Keyword Ranking Report
Hi, Moz Keyword Ranking report shows different results then what i see on my desktop for some keywords. There wasn't much difference on most of them until now so ignored some of the differences but now i see huge differences. For instance, on my Google UK I see the keyword ranking 1 or 2 but Moz reports show 22 or higher than that . Search Engine is Google UK. Would you please advise if I am doing anything wrong here? Thank you,
Moz Bar | | Rubix0