[wp-trac] [WordPress Trac] #47025: Adding canonical tag feature
    WordPress Trac 
    noreply at wordpress.org
       
    Tue Jun  4 20:53:41 UTC 2019
    
    
  
#47025: Adding canonical tag feature
--------------------------+----------------------
 Reporter:  haseeb007     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  TinyMCE       |     Version:  5.2
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by desrosj):
 * keywords:  close =>
 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>
Comment:
 Hi @haseeb007,
 I just did some research, and it appears that @SergeyBiryukov is correct.
 `rel="canonical"` is only allowed as an attribute of the `<link>` tag,
 which is only allowed within the `<head>` tag (unless the type is `body-
 ok`, which `canonical` [https://html.spec.whatwg.org/multipage/links.html
 #link-type-canonical is not]). Search engines have also been known to
 ignore any `rel="canonical"` attributes found within the `<body>` tag.
 If this is no longer correct and you can provide some references
 demonstrating, this can be reopened and reevaluated!
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47025#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list