Stack Exchange Network

Stack Exchange network consists of 175 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 [http]

HTTP Stands for "Hyper Text Transfer Protocol", and is the protocol that applications use to access documents/webpages/data from the world wide web.

0
votes
2answers
29 views

Is using SiteGround CPanel over http secure?

I have a website hosted on SiteGround. Their CPanel can be served via http or https ( http://cpanel.us261.siteground.us/login/ ). In my case it is not working via https; the support says it's because ...
1
vote
1answer
24 views

MediaWiki: What HTTP Status Code it returns for non existent web pages?

Take these MediaWiki web pages for example: https://ecowiki.org.il/wiki/Aaaaaaaaaa https://en.wikipedia.org/wiki/MAKMAKMAK http://www.foodtech-portal.eu/index.php?title=Special:PdfPrint&...
1
vote
0answers
14 views

Using Post method in Faceook Graph API

When I use graph API to post on a Facebook page it's not working, it responds with an ID and URL but instead it should be responding with a post id. When I open the URL it gives this error: { "...
1
vote
1answer
24 views

Nonexistant /408.shtml and /403.shtml URLs being requested on WordPress site

The top two most commonly requested nonexistent pages on my WordPress website are the following: /408.shtml (3500 times) /403.shtml (470 times) I use the Redirection plugin to track 404 requests, ...
1
vote
3answers
40 views

How can I stop Google Search Console “index coverage” emails for the HTTP site now that I have migrated to HTTPS?

We have migrated our site to HTTPS from HTTP, so added HTTPS site in Google search console. But didn't remove HTTP site. We are receiving notifications continuously for HTTP site for index coverage ...
1
vote
3answers
49 views

Google Search Console still shows clicks on the HTTP site years after moving to HTTPS

After switch to https, traffic isn't showing in Analytics says: Google Webmaster Tools treats HTTP and HTTPS as different properties. Hence you will get traffic on both for sometime, where ...
2
votes
1answer
40 views

HTTP/2.0 loads resources in parallel, will that change dependency order of CSS and JS in my HTML source code?

I'm willing to use HTTP/2.0 on my apache server. I'm using apache over HTTP/1.1 and I have structured my site like this : <head> sharedJS.js 1.js 2.js sharedCSS.css 1.css 2.css </head> ...
0
votes
1answer
24 views

How to get URLs for creating TCP connection for HTTP? [closed]

HTTP the Definite Guide says Before an HTTP client can send a message to a server, it needs to establish a TCP/IP connection between the client and server using Internet protocol (IP) addresses ...
3
votes
5answers
117 views

Is HTTP to HTTPS redirect required even if site is only on HTTPS?

I have a new website and from day one, it was on HTTPS. For example: https://www.example.com/ Do I still need to redirect HTTP to HTTPS to avoid content duplication? For example, should I still set ...
1
vote
1answer
30 views

Do most websites not use HTTP authentication header but something else for authentication?

https://curl.haxx.se/docs/httpscripting.html says It is worth noting that while this is how HTTP Authentication works, very many web sites will not use this concept when they provide logins etc. ...
1
vote
0answers
37 views

changed site from http to https and now its unreachable by google [closed]

I move my website from http to https and now it does not appear in the google search resutls, it was appearing on the top search resutls. In google search consolte when I do fetch for the website it ...
2
votes
1answer
18 views

When redirecting to another domain, to which domain will HSTS apply?

Assuming the following, what domain will be HSTS'ed for the next year, foo.com or bar.com? RTFM (RFC6797) doesn't help much. > GET / HTTP/1.1 > Host: foo.com [ ... ] < HTTP/1.1 301 Moved ...
2
votes
1answer
554 views

Nginx fails to start HTTP/2 server due to error: unknown log format

In our hosting server from the Plesk cpanel, Nginx is configured to work as a reverse proxy engine. As I need to enable HTTP/2 that can speed up the loading time of Plesk and hosted websites. ...
1
vote
1answer
38 views

Site works ok on HTTP, not on HTTPS

I have the following on sites-enabled: 000-default.conf default-ssl.conf 000-default.conf has: <VirtualHost *:80> ServerName www.optonet.inter.edu ServerAdmin webmaster@opto.inter.edu ...
3
votes
0answers
26 views

Header to describe available `content-type` responses?

It's a little cumbersome to scrape through the HTTP RFC for this particular question, so I'm hoping someone can help me short-circuit an answer: Does the HTTP spec contain functionality for a server ...
1
vote
0answers
106 views

IIS website only allowing https connection, no http

We are running two websites on IIS (site1.site.example and site2.site.example). Both sites have the same bindings but with different host names (as above), on IP address * and for ports 80 and 443 (...
1
vote
0answers
11 views

Installing a free world-compatible SSL certificate in WHM/Cpanel

It's been a while but here I am again. I just found out today that users of chrome 69 or later will see a big "insecure" message for webpages beginning with http:// such as mine and even Bing's ...
2
votes
2answers
734 views

How is it best to redirect http to https in cPanel?

I am setting up a new site on a domain that has an SSL certificate. The DNS is all configured correctly and I can access the site on either http://example.com or https://example.com URLs. Currently, ...
1
vote
0answers
21 views

Social sharing count (Specially Facebook and Twitter) when moving to HTTPS

How can I get back the social sharing count (Specially Facebook and Twitter) when moving to HTTPS? Note : WordPress Site (I don't think platform does not related to this question. But if it is ...
3
votes
0answers
70 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 ...
2
votes
1answer
597 views

How many concurrent HTTP connections from a single tab do modern browsers support?

I'm trying to figure out how many concurrent HTTP connections from a single tab modern browsers support. I've found old sources saying 10 for Chrome and 17 for Firefox I'm confused by this because ...
4
votes
1answer
807 views

Is a PHP POST using cURL from HTTPS site to HTTP endpoint encrypted securely?

I have a website residing on a domain with a valid SSL certificate that is fully using HTTPS. If I take form data from this site that is secured with an SSL and send it to a non-secure HTTP endpoint ...
0
votes
1answer
108 views

Omitting “http://www.” from my URL doesn't load the mobile site

I designed and uploaded a site on a mobile format. It shows up fine but ONLY if I type out the http://. The client wants it to be as simple as possible. How can I have it automatically insert ...
0
votes
2answers
80 views

General questions on operation of SSL secured sites [closed]

I am trying to get some understanding on differences between unsecured (http:// accessed) and SSL secured (https://) websites on Apache servers. So I am not trying to solve a specific problem right ...
0
votes
1answer
292 views

htaccess force HTTPS except two pages

I would like to force HTTPS (SSL) on every page except /es-ES/calculador-cuatro-pilares-destino-bazi.html or /en-US/bazi-calculator.html. How can I do that? I am using Apache HTTP Server (ver 2.2.x). ...
1
vote
1answer
940 views

How to get full URL [keyword] from google search using http_referer?

I need to get the keyword what user's searched in the google search engine. I tried http_referer in php but got only the origin not the full url and keyword. Kindly share some idea about. Thanks...
1
vote
2answers
88 views

When redirecting HTTP to HTTPS, which URLs should be in the sitemaps?

Recently I've installed SSL certificate on my website and added a 301 redirection on my website for all links. Previously my sitemap included HTTP links and almost my 5000+ pages are now indexed on ...
1
vote
1answer
1k views

How to avoid SSL warnings about certificate not for the current site when redirecting alternate domains?

I have multiple domains forward issue. Domains with plurals and singular e.g.: example.com, examples.com, example.biz, examples.biz I forwarded all of them to https://examples.com and https://...
1
vote
1answer
21 views

Is Google analytics tracking all of my traffic? on all accessible variations/properties

I am wondering is Google analytics track all of my properties? https://www.example.com (SSL + www) https://example.com (SSL - www) http://www.example.com (Non-SSL + WWW) http://example.com (Non-SSL - ...
2
votes
1answer
583 views

404 status code for HTTP/2

How does a correct 404 status code look like on using HTTP/2 protocol? HTTP/1.1 404 Not Found seems to be for the previous protocol version, but I can't find anywhere something meaningful about status ...
1
vote
0answers
47 views

My site doesn't have a SSL certificate, but Google is indexing the HTTPS version [duplicate]

Redirecting to HTTPS causes an error, Google should be indexing the HTTP version. How can I enforce that? I have no forms or logins on my website, I have no SSL certificate. For example: Searching ...
2
votes
0answers
34 views

httpS pages crawled while never bought SSL Certificate [closed]

I have a website built in WP. I never bought any ssl certificate for my website, nor a single link pointing to httpS, however, 02 of the pages are crawled with httpS, while rest pages are with http. ...
8
votes
1answer
3k views

What happens if you don't set cache-control header?

What happens if you don't set the cache-control header? Does HTTP specify a default behaviour that clients should follow or is it up to the clients to decide? In Chrome, I have seen some Javascript ...
1
vote
0answers
242 views

Can a content be cached even if the max-age header is not set and vice versa?

As far as I understand, when a request is made for the very first time, the browser will download the resource from the server. If the Cache-Control: private,max-age=value header is present, then it ...
1
vote
0answers
112 views

Why is my Last-Modified header always sent using GMT timezone?

I want to send the last-modified in IST timezone, But it always sends in GMT. What is wrong with this PHP code? echo "Timezone " . date_default_timezone_get () ; //==>verified, timezone set ...
4
votes
2answers
166 views

Will my Facebook comments get lost under these scenarios?

I want to integrate Facebook comments to my blog. According to my research, the page is treated as an object. So all the comments are tied to this object. This object itself is the page URL. Now I ...
0
votes
1answer
94 views

HTTP webpage is showing “Not Secure” in Chrome

I've called GoDaddy a few different times and they said that it looks like it is a problem with my HTML file. Except, my HTML file is the basic outline of a webpage, nothing fancy at all. Chrome ...
1
vote
1answer
2k views

How do I prevent a rewrite rule from executing for just one subdomain?

In the root level .htaccess I have added a condition to rewrite HTTP requests as HTTPS: RewriteEngine On RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} This applies to ...
2
votes
2answers
81 views

Can WordPress accept HTTP and HTTPS connections on the same blog?

While working on the transition from HTTP to HTTPS, I have configured all websites to accept both HTTP and HTTPS connections. This worked for everything except WordPress. There is an option in the ...
2
votes
1answer
110 views

What is the most relevant HTTP status when waiting for user activation?

I'm coding a user registration process and wondering if 200 (OK) is the most relevant HTTP status for response after username/password creation, when waiting for user activation. HTTP status 202 (...
1
vote
3answers
90 views

When converting a WordPress site from HTTP to HTTPS, do all hard-coded HTTP references need to be updated?

We have a Wordpress HTTP site which we wish to convert to HTTPS or SSL. Do we have to find all mentions of hard coded HTTP resources or can we simply do a 301 redirect in .htaccess, and how do we do ...
3
votes
1answer
933 views

htaccess 301 to redirect .com to .co.uk, http to https and non-www to www subdomain

I have example.co.uk and example.com domain names. The main website is example.co.uk. I have an SSL certificate on the domain example.co.uk. I want the .htaccess file to 301 redirect everything ...
2
votes
2answers
62 views

http2 and Alternate-Protocol, ngnix open src web server config

My goal is to know if my android app and my browser are talking to my web server on http2. Using open source nginx stable 1.12 on linux. Looking at the network or other tools of firefix (version 54) ...
2
votes
1answer
361 views

HTML and SEO - Relative Links and Absolute Links [duplicate]

Question: Does it matter if some links are full URL: ie: http://example.com/contact-us.html (absolute) versus relative (example.com/contact-us.html) for SEO purposes? The difference is when using ...
4
votes
2answers
2k views

What benefits are there to having both HTTP and HTTPS protocols indexed by Google?

Using HTTPS seems to be standard and more and more sites are making the switch and redirecting all users from HTTP to HTTPS. However I have come across some large sites that keep HTTP and HTTPS both ...
1
vote
1answer
125 views

Which is longer cached by SE robots or browsers, redirect 301 or 302

I have looked on Stack Exchange but didn't find the solution for my problem. The problem: I have a website and want to become an SEO hero. So, I also need to choose status codes... I know that there ...
0
votes
1answer
826 views

Redirecting FTP Browser Requests to HTTP

Is there - and if yes, what is it - a solution to the following task: I want to redirect browser requests targeting ftp://www.example.net to http://www.example.com I am aware that ftp:// is ...
1
vote
1answer
63 views

Placing javascripts at the page's bottom and HTTP/2

Does the placement of javascripts at the bottom of html document still gives any loadtime wins, if the site runs on HTTP/2?
1
vote
1answer
1k views

defer img loading / CSP: allow embeded img

My website is defering some img loading by setting the img src value by JavaScript (from the img data-src value). In order to have still valid HTML as long as the URL is not set to img src, I am ...
3
votes
1answer
2k views

Does changing from HTTPS to HTTP kill my backlinks?

I had only my main page changed to HTTP to test out if I want to change from HTTPS to HTTP. All my backlinks are to my HTTPS site. Will I lose all of my backlinks and have to start over when switching ...