New answers tagged http
0
votes
Forcing HTTP error 421 on all HTTP2 requests
Google does state that to opt-out from crawling over HTTP/2, you can instruct the server to respond with a 421 HTTP status code.
You can achieve it by using this in Apache:
<If "%{HTTP2} == '...
1
vote
setting custom HTTP header based on HTTP error code (Apache 2.4)
From my understanding, you want to add a particular header depending on the request status of the client.
While you can't do that directly as an IF statement (per documentation), here's a workaround ...
Top 50 recent answers are included
Related Tags
http × 312https × 105
redirects × 38
seo × 37
http-headers × 33
apache × 26
301-redirect × 22
url × 21
htaccess × 19
web-development × 14
google × 13
wordpress × 12
browsers × 12
no-www × 11
google-search-console × 10
html × 10
apache2 × 10
security-certificate × 10
error × 10
google-search × 9
web-hosting × 9
security × 9
404 × 9
cache × 8
webserver × 8