Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [headers]

First part (at the top) of a web page

Filter by
Sorted by
Tagged with
3 votes
1 answer
274 views

Is setting Priority Hint fetchpriority=low for favicon.svg and/or site.webmanifest a good idea for website speed / Core Web Vitals?

I've noticed in a chromium desktop browser web console that the default priority (fetchpriority) for favicon.svg and site.webmanifest as assigned by the browser is high. Would it be a good idea to set ...
adrelanos's user avatar
  • 165
1 vote
1 answer
92 views

Official list for PageMap/DataObject tags and values for rich snippets?

To help search engines (like google) in generating "rich results" for your site, you can add a PageMap in the form of commented html-ish markup in your . But how to know all the useful name-...
Clorofilla's user avatar
2 votes
1 answer
223 views

How to use cdn cache with login status in menu?

On my website I have in the header a button called either "Login" or the name of the user if he is logged in with a small avatar. I don't use any cache, so the text for the header is ...
Adam's user avatar
  • 389
2 votes
1 answer
41 views

Recording / Logging CSP Violations

I am in the process of implementing a CSP policy for a variety of domains and am looking for a method to record/log browser CSP violations encountered by any end user. I want to make sure I don't miss ...
Mark Bosky's user avatar
4 votes
2 answers
1k views

How to Leverage Browser Caching for Fonts in WordPress

I am using WordPress along with Autoptimize and Cloudflare, and using Locally hosted fonts. I can't leverage browser caching on my site. I tried using Cloudflare Page rules to Leverage 1 year browser ...
Aditya Agarwal's user avatar
1 vote
1 answer
504 views

POSTing authorization headers with no $_SERVER['HTTP_AUTHORIZATION'] and no 'authorization' value in apache_request_headers()

I'm developing a web application that interacts with a GraphQL instance on another server (not mine). The GraphQL instance requires me to send an authorization header ("Bearer [token]"). The ...
Eye Teeth's user avatar
1 vote
1 answer
257 views

Do I need to have headers attributes in <td> elements for accessibility or can scope attributes be used alone?

I'm trying to make a website I'm working on meet accessibility requirements. I've checked it at https://achecker.ca/checker which complains about all the <td> elements in my tables not having id ...
Mikec's user avatar
  • 11
0 votes
1 answer
35 views

SEO page head best practice / must have [closed]

I've read a lot of articles online about what there should be in the header of the page and what there should not be (i'm personally more interested on what there should be), and i've come up with ...
user avatar
2 votes
1 answer
266 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://...
DAYE's user avatar
  • 21
4 votes
0 answers
111 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 ...
lucasvc's user avatar
  • 141
3 votes
1 answer
451 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 ...
Michael d's user avatar
  • 4,803
3 votes
1 answer
4k 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 &...
cag8f's user avatar
  • 133
0 votes
3 answers
72 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 ...
Lee 's user avatar
  • 23
1 vote
1 answer
45 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 ...
James Randolph's user avatar
1 vote
2 answers
199 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 ...
mybbxoxo's user avatar
1 vote
1 answer
89 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 ...
Hugo Silva's user avatar
2 votes
1 answer
272 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"&...
Luca's user avatar
  • 123
3 votes
1 answer
440 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 ...
user70581's user avatar
0 votes
1 answer
583 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 ...
Evgeny's user avatar
  • 51
2 votes
1 answer
4k 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 ...
MiscellaneousUser's user avatar
2 votes
1 answer
436 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 ...
WPDEVE's user avatar
  • 21
2 votes
1 answer
181 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?
Andrew Barton's user avatar
2 votes
1 answer
1k 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....
gdaniel's user avatar
  • 421
4 votes
2 answers
560 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 ...
bodacydo's user avatar
  • 173
2 votes
1 answer
1k 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 ...
Mike -- No longer here's user avatar
0 votes
2 answers
92 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 ...
Ormoz's user avatar
  • 135
4 votes
2 answers
2k 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 ...
Robby Russell's user avatar
1 vote
1 answer
23k views

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

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 ...
Maelish's user avatar
  • 459
3 votes
1 answer
705 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" ...
Athanatos's user avatar
  • 195
0 votes
2 answers
150 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 ...
Jérôme Verstrynge's user avatar
0 votes
2 answers
9k 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. ...
Cameron's user avatar
  • 169
3 votes
1 answer
157 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: ...
john Smith's user avatar
4 votes
1 answer
326 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 ...
kabuto178's user avatar
  • 165
0 votes
2 answers
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 ...
ylluminate's user avatar
1 vote
1 answer
323 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 ...
Dejan Pelzel's user avatar
1 vote
2 answers
696 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 ...
user avatar
1 vote
3 answers
291 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-...
issackelly's user avatar
1 vote
1 answer
129 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 ...
David's user avatar
  • 311
3 votes
1 answer
481 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 ...
Peter Turner's user avatar
2 votes
2 answers
75 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 ...
Joe's user avatar
  • 61
2 votes
4 answers
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 ...
brainydexter's user avatar
5 votes
4 answers
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 ...
Sam's user avatar
  • 847
2 votes
1 answer
2k 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 ...
danlefree's user avatar
  • 12.9k
12 votes
2 answers
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 ...
Metalshark's user avatar
  • 3,683
6 votes
1 answer
282 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
theotherreceive's user avatar