Hot answers tagged

6

You should not use the canonical this way, paginated listing are well understood by Google. You can help him to make it clear : http://googlewebmastercentral.blogspot.fr/2011/09/pagination-with-relnext-and-relprev.html


4

You can do this with a little bit of jQuery To take the ID and create your H3 text from that... $(document).ready(function() { $('h3').each(function() { var newHeading = $(this).attr('id'); //Get the ID newHeading = newHeading.replace('_', ' '); //Replace the _ with a space $(this).text(newHeading); //Replace the H3 text with ...


4

Schema.org I have the impression that many WordPress theme creators add these types. My guess why: These are one of the few types that can be added without knowing the site’s content. The header is the header, no matter what the site about, etc. But I recommend to omit WebPageElement and its sub-types (currently: SiteNavigationElement, Table, WPAdBlock, ...


3

In a mail from 1991, Tim Berners-Lee explained: I would in fact prefer, instead of <H1>, <H2> etc for headings [those come from the AAP DTD] to have a nestable <SECTION>..</SECTION> element, and a generic <H>..</H> which at any level within the sections would produce the required level of heading. So the reason ...


3

The order of meta tags does not make a difference. You can use both ' and " in html5. The conditional comments can be useful if you want to create specific CSS for Internet Explorer 8. However in many sites the number of IE8 users is small, so it's up to you to decide if it's worthwhile (and needed) to do it.


3

What your SEO agency is doing won't make a lick of difference for SEO. Adding heading tags was an SEO strategy that maybe worked five years ago. Today Google uses signals other than heading markup to know what text is important an the page. Googlebot actually renders pages. I've seen SEO testing that indicates that Googlebot now views any text that is ...


3

You seem to have a few issues with your current config file: You are trying to use both mod_expires and mod_headers to set the same cache headers (but with different values?). mod_expires sets the max-age parameter of the Cache-Control header, as well as the older Expires header. This is likely to result in conflict (particularly since you are trying to set ...


3

Dns-prefetch is a hint telling your web browser that you are probably going to use that domain at some point so go ahead and set up the connection in advance to save some time. The main point is that it's a hint for a future page. So your browser will only use it if it's not busy doing something else. When a page is first loaded it has lots more important ...


2

No, you can't change the expiry headers for remote files that aren't under your control. The only way you could would be to host them on your own server - however you then remove the advantage of these files being hosted on powerful CDNs and the font files are probably already stored in other user's browser caches. There are work-around methods to use PHP ...


2

The HTTP response headers for HEAD and GET requests should be identical. The only difference is that the response body is missing from the HEAD response. From RFC 2616 - HTTP/1.1 Section 9.4 HEAD: 9.4 HEAD The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. The metainformation contained in the ...


2

Google doesn't use rel=canonical headers for images, so you're probably just seeing normal fluctuations (there's no guarantee of indexing).


1

You are correct in your first code snippet: <meta name="robots" content="noarchive"> Stop there, that's it, there is no more to it. Once the search engines (Google) recrawl your site then this should prevent them offering the "Cached" (or "Archived") version of the page in the SERPs. Nothing has changed in recent years in regards to this value. From ...


1

WPHeader and WPFooter are some kind of CreativeWork. You can see this in their type hierarchies (displayed at the top of every Schema.org type’s page): Thing > CreativeWork > WebPageElement > WPHeader Thing > CreativeWork > WebPageElement > WPFooter So having WPHeader/WPFooter as value for the hasPart property is perfectly fine ("expected"), and ...


1

Would the Expires:-1 be the cause of why my number of visitors has dropped from average of about 3800 to 1300 No. The Expires header simply controls caching. A value of -1 (strictly an invalid value, which should really be in HTTP-date format) will simply be seen as "expired". So, users will always make server requests. Note that the Cache-Control: max-...


1

For the HTML files, you can't have it both ways. The only way for Varnish to always show HTML files if they've changed would be to check every time (=cache miss), at which point you've not gained anything by using it. If your site changes very frequently, setting a short cache time like you have is probably the best you can do (although 3 seconds might be a ...


1

Silo best practice says to try and limit such links where possible. If you need to keep the links, instead of having them in the header, move them to the footer. The reason for that is the links near the top of the page are more valuable than footer links. The other thing to remember is that the reader comes first. If a link is appropriate, put a link.


1

This is intended by your hosting company to prevent spam, phishing and fraudulent activities taking place on their servers. They will 'REWRITE' the origin server when you send email that is unauthenticated and cPanel. Generally most hosting companies will operate this way and your not the only one with this problem with PHP mail from header rewrites. This ...


1

I strongly suggest you examine the status codes and their meanings. You did not explain why a client (which could be a human or a bot) might request a URL that does not exist but the URL might have a valid "parent" URL. The reasons for unusual situation will likely guide your choices of status codes. The information provided by closetnoc is excellent, and ...


1

Here is a run-down of some of the HTTP Status Codes. If you want to know more about HTTP Status Codes, I suggest this page: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes It explains things rather well. A 202 status code is OK. This means that the request was successfully fulfilled. A 301 status code Moved Permanently is a redirect. A 303 status ...


1

Akamai has no minimum Cache TTL value. You can set 1 second or 0. However what you are trying to is better achieved with origin cache control headers because changing settings on Akamai isn't instant due to the size of the network. I would recommend you start with atleast 5 minutes to begin with although I find 10 minutes is the most ideal lowest. Now for ...


1

I have not used them for a long time, but if you are talking about the cache control header they set when serving content from their CDN, it gets pulled from your source. So for example if you have a pull with the cache control header of max-age 10s then the CDN will copy that. (same goes for cloudfront). The only CDN i am aware of which lets you ...


1

I assume you mean you're using <link> elements in your HTML (as opposed to the <xhtml:link> for sitemaps). Using the alternate links in the sitemap is beneficial for search engines only, whereas the links in the <head> of your web page could be used by browsers or other user-agents. I believe Opera used to make use of link elements but I ...


1

Hiding text as an accessibility measure is absolutely fine. As long as you're doing it ethically - i.e. your plain text faithfully represents what's in the image, isn't being used to "stuff" keywords, etc. - you should have no problem. From Google: [...] not all hidden text is considered deceptive. For example, if your site includes technologies that ...


1

I don't think it will make any sense to add link tag like this as search engine will identify it without explicitly mentioning it through link tag. But if you want to block crawlers, you may have to put rel=noindex tag!


1

In Most Cases PHP and HTML Caching is Bad Generally it is not advisable to cache the PHP and HTML files of a site since when you modified these pages your returning visitors will not fetch the newer page without a hard refresh of the page. It is recommended By Google Insight to cache the images and other files that are unlikely to change. So when you edit ...


1

If the person has instant search on you wont get the keyword, the parameter q= shows up for static searches. In your Analytics go to Traffic Sources - Sources - Search - Organic you'll see in the keywords column (not provided) that's due to instant searches. To track the keywords you can try adding keyword insertion into your target URL so when they click ...


1

Analyze HTTPArchive.org's dump of web performance data for thousands of sites to get the average response time. HTTPArchive.org tracks web performance information such as size of pages, failed requests, and technologies utilized. While a lot of interesting aggregated statistics drawn from frequently fetched data is presented through charts, response time ...


1

30 seconds timeout is my recommendation. And I recommend you not download the entire web page html and instead should be getting just the HEAD (php example) or just the http response (php example) and then bailing. Otherwise you could be downloading megabytes of long pages which increase your time. At the most I would recommend a max 60 seconds timeout if ...


1

You might want to check out this presentation on international SEO. http://www.distilled.net/blog/seo/mozcon-international-seo/


1

On your dedicated server create and run a script that retrieves the HTML of a page from your site hosted at Google Sites. Have it parse that file to retrieve the header HTML. Then have the script update the header file for your forum. Tips: You will make your life a lot easier if you use comments to delimit where the header ends so the parse knows where to ...


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