Hot answers tagged

8

Looks like it. This example comes from the HTML5 specs: For example, the following link is a French translation that uses the PDF format: <link rel=alternate type=application/pdf hreflang=fr href=manual-fr>


4

Yes it is possible using Apache and PHP, by setting the expires and cache-control using header(), you can find out more about what is, and what is not supported in the HTTP/1.1 specification. PHP headers will look something like this: $seconds_to_cache = 3600; $ts = gmdate("D, d M Y H:i:s", time() + $seconds_to_cache) . " GMT"; header("Expires: $ts"); ...


3

This is a good and specific question! I have answered this questions in parts all over the place, however, this question is specific enough to warrant it's own answer which will be very direct and helpful to others. First things first. Search is NOT about keywords. Google does not make direct term matches. Not even close. So please stop thinking in terms ...


2

In (X)HTML5, the a element’s href attribute […] must have a value that is a valid URL potentially surrounded by spaces. As the anchor suggests, it may contain leading and trailing spaces. The linked section makes clear that these spaces will be stripped: […] the user agent must remove all space characters that are at the start or end of the string ...


2

Short answer: No, there isn't, and in fact it might be a detriment. Longer answer: You're asking the wrong question. Bear with me for a moment here :) Google does its best to understand your site in a way that visitors to it will. It's only a bot, but it's pretty clever and the algorithms are constantly being updated. If you want to game Google, it ...


1

As the author of the plugin suggested, this can be treated as a false-positive. Our SpamAssassin checks on mail-tester trigger a lot of false-positives, please ignore them.


1

If possible do always use absolute links instead of relative ones. Why? Because relative links may cause crawl errors. Especially when it comes to alternate links you should make sure the bot finds exactly the URL you want it to crawl. Further it is not a good idea to use parameters for language indication. Please visit the following guides on multi ...


1

Yes. The definition of the href attribute for the link element says: […] must contain a valid non-empty URL potentially surrounded by spaces This links to the definition of valid non-empty URL, which links to the definition of valid URL, which says that is has to be a URL that conforms to the authoring conformance requirements in the URL standard ...



Only top voted, non community-wiki answers of a minimum length are eligible