Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [headers]

First part (at the top) of a web page

2
votes
0answers
29 views

Can I use a nofollow a tag in the my header to nofollow all links to a page?

<a href="http://example.com/wordpress/wishlist" rel="nofollow"></a> or <a href="http://example.com/wordpress/wishlist" rel="nofollow"> I want to nofollow all the links to http://...
3
votes
0answers
57 views

Responding other 'Content-Type' different from 'Accept' list

As all you know (else follow this question) the requesting Accept header allows client to specify the expected MIME types for response content. But my case is: client indicates an Accept of type ...
3
votes
1answer
140 views

<meta property=“og:type” content="video or website?

My website has pages with links to videos. Google sends traffic to these pages and in the SERPs it shows the a video thumbnail next to my result. The video thumbnail chosen is the first video link on ...
3
votes
1answer
1k views

Adding Schema.org’s “WPHeader” with Microdata

I'd like to add Schema.org data, and am trying to follow instructions given to me about how to do so. The instructions indicate that I should change my <header> tag from: <header> to &...
0
votes
3answers
67 views

Website <head> section questions

I've been doing some tidying up on my site recently and have been making some minor adjustments to the section of each page (primarily to cut out any potential duplication). However, I just have a ...
1
vote
1answer
32 views

Penalties for “missing” Header tags

Running my site through Niel Patel's SEO Tester gives me multiple errors on <h4> elements being too short. Thing is, the elements are too short (length = 0) because those headers are on a ...
1
vote
2answers
112 views

What do I use to tell search engines not to offer a Cached version of my MyBB forum pages and where is the code I need to alter?

This question originates from my post on MyBB support forum. It's been a few days so I figured I should ask somewhere else too. I want to prevent the search engines from offering the Cached version ...
1
vote
1answer
73 views

Will Google remove content such as images with canonical headers to other non-indexed content?

I've set a canonical (.htaccess) header from an image to another one. For instance: site.com/image-small.jpg has a canonical header to: site.com/image.jpg (Original image). However the website ...
2
votes
1answer
75 views

Html headers structure for SEO without content and broken hierarchy

I've been given this markup structure as a recommendation from a SEO agency, about the way to best use html Headers for SEO purposes: <h2>{{section-title}}</h2> <div class="carousel"&...
4
votes
1answer
235 views

How do I set expired headers in .htaccess to prevent getting an F from Yslow?

I have an F on Yslow, because of expired headers. I have tried all the solutions from similar question and only got partial success. Here's my .htaccess file: # BEGIN WordPress <IfModule ...
0
votes
1answer
313 views

Can I use “hasPart” to link WPHeader and WPFooter to WebPage?

According to the Schema.org description, the property hasPart is defined for CreativeWork, i.e. Article. So, we can link different pages of Article for example. But can we link WPHeader and WPFooter ...
2
votes
1answer
1k views

Set Expires: -1 HTTP Header by mistake and visitors dropped?

I was trying to do some SEO improvements on my website and accidentally set the Expires header to -1. I changed it back after a couple of days. Would the Expires: -1 header be the cause of why my ...
2
votes
1answer
392 views

http header if not modified help

I am having a little trouble with sorting out my HTTP headers for my sites. I am currently setting up Varnish on my server and so trying to get everything working correctly. All my sites are ...
2
votes
1answer
132 views

When making a silo structured website is it ok to have header and footer on all pages?

When building a silo website from scratch, is it ok to include all the links in the header on any page? About, FAQ, Contact etc. For those unknown: What is the SILO Website Structure?
3
votes
1answer
515 views

How to set the “from” sender in WHM or how to prevent the server from overwriting it?

I am using wordpress. Wordpress has its own mail function called wp_mail(), which is very similar to the php mail() function. The wp_mail function allows you to pass headers, such as the "From" field....
4
votes
2answers
213 views

Should <link ref=“dns-prefetch”> tag be placed as high as possible in <head> website?

I'm implementing the new dns-prefetch tag for my web application and I wonder where I should place it in the <head> tag? Should I place it as the first tag in <head> so that browser ...
2
votes
1answer
49 views

requesting for downloadable files via HEAD

I bet google is checking web pages via HTTP HEAD and HTTP GET request methods. So I'm thinking I should also allow proper header output for downloadable files from my website via HTTP HEAD request but ...
0
votes
2answers
82 views

What is the proper response header when an address is not available but its parent is available and is displayed?

My website addresses has a hierarchy structure. When one page is requested, and it is not a valid address, it tries to find its parent, and if the later exists, it will show it. Now, my question is ...
3
votes
2answers
1k views

What's the minimum age for a Cache-Control header with Akamai?

We're planning an integration with a CDN (likely Akamai) and are trying to determine how low we could go for a max-age value. For a site that could get a few hundred thousand folks hitting the site ...
1
vote
1answer
18k views

How do I expire by type in .htaccess for remote loaded Google fonts?

Is it possible to set expire by type for remote fonts or Google analytics? I'm getting this report from GTMetrix and everything I've tried isn't working. Suggestions? There are 4 static components ...
3
votes
1answer
512 views

Can I have HTML link element both in headers and sitemap?

For a multilingual site In my sitemap I am using: <url> <loc>http://www.xxxx/en</loc> <changefreq>daily</changefreq> <xhtml:link rel="alternate" hreflang="en" ...
0
votes
2answers
131 views

Should or can I set the rel=“publisher” link on all my webpages?

One can establish a link from a website to a Google+ page by adding a rel="publisher" link in the head of the index.html document (for example). But, should or can this link be set on all pages of ...
0
votes
2answers
6k views

SEO-friendly masthead with a hidden <h1> and <h2>

I have built a website and the masthead uses an SVG that contains the site title, logo and support graphics. The masthead still contains the logo as an inline image, and <h1>, <h2> tags. ...
3
votes
1answer
147 views

Link tags in iframe widget

I have a rating community-site and I´m offering little iframe widgets with the average rating and some little other info. Does it make sense (for visibility, SEO) to add link tags to the head like: ...
4
votes
1answer
317 views

HTTP Headers caching

I am not totally sure bout HTTP headers, but from what I read its good to have some level of caching on static pages also I am not sure if Transfer Encoding: chunked is a good thing. I was not finding ...
0
votes
2answers
2k views

How to extract AdWords keywords from incoming traffic?

I have a landing page in which I need to understand what keywords are coming in from AdWords and then display some information based on this. I am not certain, but I don't believe that this ...
1
vote
1answer
213 views

Canonical URL in blog post category post listing?

I have a set of categories that each list their own blog posts. I am afraid there might be a problem with duplicate content as the posts move down the pages. Should these subpages include a canonical ...
1
vote
2answers
585 views

Average header response time of a website

I'm building a link checker to check a huge amount of URLs for uptime and I'm currently thinking about timeout times. Do you know any statistics which provide the average header response time to have ...
1
vote
3answers
273 views

Should I have a separate URL for each language and each page? [duplicate]

Possible Duplicate: How should I structure my urls for both SEO and localization? Please be specific, I already plan to change the language based on the Accept Language header, and then any user-...
1
vote
1answer
128 views

Keep header across sites [closed]

We have a site, which has a main site served by Google Sites and a custom made forum running on a dedicated server. Now we want to use the header from Google Sites also on the forum, so it feels like ...
3
votes
1answer
330 views

Maximum file size for iFrame in IE7

I've got a "super secure" javascript downloader* that I wrote, and it usually works alright. But I noticed, while trying to download a 90 meg file with it on a client's machine that on IE7, it's ...
1
vote
2answers
60 views

How can I automate the IDs of my HTML headings?

<h3 id="My_Heading">My Heading</h3> <h3 id="My_Awesome_Heading">My Awesome Heading</h3> Whatever your heading text is, is what the id of the header is Is this something that ...
1
vote
4answers
2k views

design website using header and footer template approach

I am trying to re-do my portfolio website since its a pain to maintain it. Everytime I have to add a new item to it, it just takes forever and kills me. I'd like to redesign in a way that makes the ...
5
votes
4answers
2k views

SEO and browser compatibility differences for headings <H1> though <H9>

We all know the importance and significance of Headings for Professional Webmasters. These were known for professional developers as: <h1>Heading 1</h1>, and H2 through H6. As a daring ...
2
votes
1answer
1k views

Are there any good reasons to avoid using the noscript tag in an HTML5 header?

I need an efficient and aesthetically-pleasing way to gracefully degrade site appearance for users with Javascript disabled and, while I am not aware of any problem with adding a link to an ...
12
votes
2answers
3k views

Considerations of the HTTP Content-MD5 Header

We are debating whether to use the Content-MD5 header. Pros: The CMS allows us to easily include it with minimal overhead (cached responses in 80%+ of the cases). It would add another layer of ...
5
votes
1answer
262 views

Far Future Expire Headers

Do you use these? If so, what strategies do you have for managing changes to the files? http://developer.yahoo.net/blog/archives/2007/05/high_performanc_2.html