html - HTTP response headers: multiple Link values -
i'm working on seo rails app.
the website localized, , i'm following this google article add hreflang alternate links pages.
the html links in <head>
ok.
i'm having troubles response headers.
i understand i'm supposed provide values each alternative version of page, i'm not sure how set multiple values.
i tried pass them comma separated list. browsers seem receive correctly, since individual values contain semi-colons looks wrong.
is there reference on it? example webpage known implement correctly help.
i have no experience this, according examples in same rfc separated comma:
link: </thebook/chapter2>; rel="previous"; title*=utf-8'de'letztes%20kapitel, </thebook/chapter4>; rel="next"; title*=utf-8'de'n%c3%a4chstes%20kapitel
it’s indirectly confirmed 5.3 (emphasis mine):
note extension relation types required absolute uris in link headers, , must quoted if contain semicolon (";") or comma (",") (as these characters used delimiters in header itself).
Comments
Post a Comment