Help fixing errors on W3C
-
I’ve got some errors while checking my website on W3C, one of those is:
Line 8, Column 46: Duplicate attribute class.
<code class="input">…lass="schanger" rel="stylesheet" class**=**"changer" href="http://www.simon-hot-do… Please anybody could tell me how to fix it, thanks Lunita</code>
-
Do you know HTML? If not, the W3C stuff isn't going to be any use to you and you need to hire someone.
-
You have these two lines:
| class="schanger" rel="stylesheet" class="changer" href="http://www.simon-hot-dogs.com/wp-content/themes/feast/styles/orange.css" type="text/css" /> |
|| <link class="bchanger" rel="stylesheet"class="changer" href="<a class=" " href="http://www.simon-hot-dogs.com/wp-content/themes/feast/styles/brown.css" target="_blank">http://www.simon-hot-dogs.com/wp-content/themes/feast/styles/brown.css"type="text/css" /></link class="bchanger" rel="stylesheet"class="changer" href="<a> |
|
|You need to edit the files to remove the class="changer" from both. schanger and bchanger seem to be your specific "changer" classes - you can't then say "it's also class=changer" It just doesn't work.
Just sort out those link class codes and you'll be fine.
-
Thanks Steve, but how I can fix it, I'm new and I feel lost.
-
The class property is duplicated.
You can only have one class in an href tag.
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
-
Fixing broken links from old domain
Howdy Mozfans, I am fixing some broken links and I was wondering if someone could help me out. Multiple old domains (www.olddomain1.com, www.olddomain2.com and so on) have been migrated to www.currentdomain.com/olddomain1 and www.currentdomain.com/olddomain2 over a year ago. The old domains redirect to the current domain but we found that a lot of those were redirecting to 404 pages at the current domain. We now redirected all URL’s that were on the old domains correctly. Will those redirects ever get indexed (and passing linkjuice) since the old domains haven’t been used for such a long time? If not, would it be a good idea to redirect the 404 pages on the current domain (that were a result of the previous redirects)? Thanks in advance!
Link Building | | SEO-Bas0 -
HELP - Should I Disavow SEO, Site Analysis, and Website Worth Links?
I have a gadget site and have MANY links to my site from sites that offer web analysis or SEO tools. For example, the site chkme.com has over 1,000 links to my home page. I don't know who they are, why they are linking to my site, and their site is irrelevant to my industry. Should I disavow links from sites like these? My site seems to be linked to from a lot of "website worth" type sites as well. I think I may have been hit with an unnatural site penalty but I do NO blackhat or any type of link building whatsoever. Thanks in advance 😉
Link Building | | Humanovation0 -
Will feeding a blog through a widget onto a wix site help rankings?
I have a client I am writing blog content for, however his site was recently redesigned on wix html5. They offer no native blog. I have used a widget to embed blog from another site, however does this help seo in any way? When people share on social media, etc., it is linking the embedded page, not the clients site, right? So it would not be giving any link juice to site. It also doesn't help for organic search of content if it is embedded, is that right? I have been racking my brain trying to figure out how to overcome this issue. Would creating a "faux" blog on the Wix site work (as in multiple pages that I would then categorize and link to each other to navigate like a blog myself)? Wix looks like it has page length maximums too, so I'm not sure how I would get around that. It is also clunky to share on social media without a "share" button for viewer, but perhaps I am mistaken. Is that a ridiculous solution? What have other people done to deal with this issue and get better rankings with Wix platform? Thanks in advance for any input! I'm feeling a little frustrated with what to do.
Link Building | | Quill_Quotient0 -
When do backlinks start helping?
I have been working hard at getting quality backlinks but I had a lot of keywords slip in rankings this week. This may because I have been extremely busy for a week and haven't added a lot of content to my site. But I thought the backlinks would be helping. How long does it take backlinks to start boosting your site and what results should I see? I am focusing on getting backlinks from a site with a PR of 7. The others have a PR of 4-5. They are the BEST sites in my niche.
Link Building | | dealblogger0 -
5th failed Google reconsideration attempt, can you help? (are scraper/related news sites the issue?)
(sorry for the long question - I thought it would be useful to give the background!) I am really struggling a Google's reconsideration request for my site, and although we thought we had removed almost all the 'bad' backlinks I am still getting no-where... We are really wanting to focus on building our brand, and establishing our site as an authority but this penalty is really holding us back. The latest response from Google: There are still many inorganic links pointing to your site. At this point, we believe we’ve evaluated these links appropriately, and no further action from us is required. In order for your site to have a successful reconsideration request, we will need to see a substantial, good-faith effort to remove the links, and this effort should result in a significant decrease in the number of bad links that we see. We do not recommend that you submit another reconsideration request until you have been able to make a good amount of progress. Once you’ve been able to get the links removed, please reply to this email with the details of your clean-up effort. My Website: http://bit.ly/KXg8y1 History: This is a new domain - approx 6 months old Old domain received a Google links warning We decided to start a new website, launch a new brand and start from the beginning We 301 re-directed the old domain so we didnt lose customers We then got a Google links warning for the new site We assumed this was related to links from the old site and so removed the 301 redirect on the 20th August Our old sites links still show in Google webmaster tools Reconsideration History 1st re-consideration request: Explained the 301 redirect had been removed, assured we would now be focussing on high quality content/brand building and after 2 weeks received a standard message to say that still had inorganic links 2nd Request: Went through the new sites links (using open site explorer, AHREFs, SEO Majestic and GWM) and removed those we identified as low quality (mostly directories built by an SEO company we had started working with). We complied a spreadsheet with all the links in it (including 301 redirect links) and explained which had been removed, webmaster contact details etc. We also uploaded our template email and screenshots showing contact with webmasters. 3rd, 4th and 5th Request: We went through the new site links and were able to remove a few more links which were thin or could be seen as inorganic, and the end result is that apart from 6 links we have removed all those we have identified as inorganic. Links The old site had some pretty poor links We have done no paid linking, no blog networks, no spammy web 2.0 sites on this site. We've added good quality content to our blog, focussed on social media, published an infographic, and are committed to long-term brand building The links mostly come from guest blog posting. An SEO company (who told us they were 100% content based) built some directory links - but 99% of these have been removed There are some links from Scraper/related news sites (ones that have related blog posts or scrape images etc) Press releases which were picked up and re-published (some of these include anchor text) My Question/s: Do you think Google is still seeing the links from the previous 301 redirect in Google webmasters and including these still? Are these scraper/related post sites causing the issue? (organic links - but some dubious sites) Are sites re-publishing our press releases causing the issue? (organic links - but includes some anchor text I really appreciate your time on this one, I have tried really hard to identify and remove links, but am now struggling! Many Thanks
Link Building | | twhite0 -
Do sub-domains help overall domain ranking?
If I have a blog at (for example) blog.mywebsite.co.uk (hosted on Wordpress), does this confer rankings to the top level domain (e.g. www.mywebsite.co.uk which we host ourselves)? Contained within the blog are many links to the main website (which is an eCommerce website) for all our key phrases, but it seemed like a good idea to keep the blog and the store separate. Alternatively, would it be better to use something like www.mywebsite.co.uk/news? Thanks! Alex
Link Building | | reddogmusic0 -
Backllinks to our site but via redirect (still SEO helpful?)
Hi, A large website may link to us but via their internal redirect mechanism. So it would be somthing like this: [If you select the link, it eventually goes to our site but not from the original page. These links would be placed on lots of pages, but since they would all "pass through" the "redirect" page, it seems not as beneficial from an SEO perspective. Is this reasoning correct? Would google still follow the link and see where it ends up, even though it is via multiple pages? Ideally I'd prefer direct link but how much better is it than the redirect as listed above?](/redirect/rd?site=www.oursite.com/page&trackingparam=111111)
Link Building | | NicB10 -
HARO (Help a reporter out)
Hi there, I'm always trying to think of new ways of getting great links and thought HARO could be really beneficial to our SERPs, the only issue I think is that we are a UK website and mainly the reporters are based in the USA, writing for Chicago Tribune, NY magazines etc, is this an issue?, here are a few more questions: Has anyone had success using HARO? Anyone outside the USA had success with HARO? Kind Regards
Link Building | | Paul780