StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-18-2011, 06:06 PM
vfontjr's Avatar
vfontjr vfontjr is offline
Registered User
Pro Plus Member
 
Join Date: Aug 2011
Location: Raleigh, NC
Posts: 73
Default Link rel="canonical" producing W3C Validation Error

The following line of code is producing a W3C Validation error on all of my sites where I am using a Genesis Child Theme. The specific error is: document type does not allow element "link" here. The document type is -//W3C//DTD XHTML 1.0 Transitional//EN which must be standard for either WordPress or Genesis. Is this line being generated by Genesis? If so, where is it found and can it be moved higher up in the head tag?

<link rel="canonical" href="http://www.victorfont.com/" />

W3C validation errors like this do impact search engine ranking. It's important that we figure this one out. I even turned off all plugins except Genesis. The line of code is still there, so my guess is that Genesis is producing it. I even unchecked Canonical Paginated Archives in the Genesis SEO Settings and it made no difference.
__________________
Regards,

Victor
www.victorfont.com
Project Success=A Great SDLC!—www.ultimatesdlc.com, the only IT book you'll ever need!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation Error "document type does not allow element "style" here kstachowiak General Discussion 3 02-11-2010 05:52 AM


All times are GMT -5. The time now is 10:58 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.