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.

Filter by
Sorted by
Tagged with
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. ...
10
votes
1answer
6k 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
250 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
149 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
167 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
120 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
3k 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
92 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
130 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
96 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
1k 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
66 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
378 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
3k 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
194 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
1k 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
68 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 ...
4
votes
1answer
3k 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 ...
0
votes
1answer
60 views

If i redirected my website from “HTTPS” to “HTTP”, will i still be getting a ranking boost?

Google announced that going HTTPS will give you a ranking boost. So i bought SSL certificate to boost my rank and redirected all "HTTP" to "HTTPS" from .htacess... then i realized that it's not ...
4
votes
2answers
277 views

How to check if a visitor is on my website?

I want to build a website that only one person at a time can visit. How would I accomplish this task? I looked at Web counters built in php, but I don't think this is the right solution. Is there an ...
3
votes
2answers
781 views

Can basic HTTP password authentication interfere with CDN access?

I'm doing my best to ask this question, I'm stepping across domains here to cover for another team that is MIA on this task. Please guide me if the question sounds stupid. We are dealing with a ...
14
votes
3answers
17k views

What is the purpose of GETting this external file?

A website I am visiting occasionally makes XHR requests to http://detectportal.firefox.com/success.txt which is a text/plain resource whose body contains the text success. I am unable to figure out ...
2
votes
0answers
38 views

Google page insights score improvement (mostly images and external http requests)

So I have this food blog that is based on wordpress but everything is coded from scratch (apart from a few plugins) as I wanted to have as much control over http requests etc as possible... These are ...
1
vote
1answer
308 views

HTTPS Causing MAJOR Slowdown on Website

I just recently acquired and installed a SSL certificate, but my HTTPS links are as slow as can be. My website went from consistent 1.4-1.9 second load times to 3-3.9 second load times. It actually ...
3
votes
1answer
789 views

310 ERR_TOO_MANY_REDIRECTS error after enabling ssl certificate in nopcommerce

After I installed and turned on a SSL certificate, I began to receive 310 errors. The site is built with nopcommerce. SSL Settings on the site are all included:
5
votes
1answer
451 views

My site fails to do content negotiation with Googlebot using the Accept-Language header

HTTP offers Content Negotiation (by reacting on the Accept-Language request header) to deliver translated representations of a resource under one URI. In January 2015 Google finally implemented this ...
1
vote
1answer
61 views

How does this link redirect? [closed]

Following this link in a web browser http://www.esdc.gc.ca/en/cpp/post_retirement/eligibility.page eventually leads to https://www.canada.ca/en/services/benefits/publicpensions/cpp/cpp-post-retirement/...
0
votes
3answers
5k views

Both HTTP and HTTPS versions of my site are currently indexed on Google. Is that hurting SEO?

When on Google, I search for the name of my site, with no HTTP, HTTPS or WWW and the results that come up are the HTTPS, then another listing for HTTPS page and then the HTTP version. Is the fact ...
0
votes
1answer
263 views

No “http://” or “www” in front of URL when visiting newly purchase domain from GoDaddy

I just purchase a domain name from GoDaddy and when going to the website it is only example.com and not www.example.com or http://example.com. Why is this? I have not been able to find any examples ...
1
vote
2answers
1k views

How to prevent browser to block mixed content (http content in a https site)

I'm installing SSL in many websites, almost all of those don't give me any problem at all, but some of them do. One of the sites uses a 3rd party weather script on a remote server that does not use ...
4
votes
1answer
2k views

what is the meaning and use case of each URL encoding Reserved Characters

Quote from Percent-encoding When a character from the reserved set (a "reserved character") has special meaning (a "reserved purpose") in a certain context, and a URI scheme says that it is ...
2
votes
1answer
166 views

Upper case beginnning letters of a domain using HTTP_HOST [closed]

For the past couple of months I've been thinking of a website I'd like to launch for a small community of people in my neighborhood. The concept is just a simple tag board to help the community know ...
2
votes
0answers
865 views

What are these headers and values: HTTP_X_FB_HTTP_ENGINE = Liger, HTTP_X_PURPOSE = preview and HTTP_X_REQUESTED_WITH = com.facebook.katana? [closed]

I'm trying to debug an issue in my website, and i see these headers in my page view log: [HTTP_X_FB_HTTP_ENGINE] => Liger [HTTP_X_PURPOSE] => preview [HTTP_X_REQUESTED_WITH] => com.facebook.katana ...
1
vote
1answer
217 views

Should both HTTP and HTTPS sites be kept listed in Google search console after migration to HTTPS?

So, I have site which has been migrated from HTTP to HTTPS. Somehow my webmasters account has both the sites listed in there. My question is if I should keep the HTTPS in the webmasters and delete the ...
1
vote
1answer
57 views

How to indicate to search engines that a website is permanently closed?

Obviously when a website disappears Google etc will stop indexing it at some point, but is there some way for a web server to provide a more formal response indicating that a website is permanently ...
3
votes
2answers
772 views

Why is Googlebot calling an AJAX method with GET rather than POST?

I have an AJAX call on my site that does a POST and returns data. Googlebot is crawling these URLs but it is attempting to use a GET method rather than a POST. This is causing hundreds of 404 error ...
55
votes
12answers
6k views

What is the benefit of forcing a site to load over SSL (HTTPS)?

Let's say I have a large content-only site; no login or logout, no usernames, no email addresses, no secure area, nothing secret on the site, nada. People just come to the site and go from page to ...
8
votes
2answers
935 views

Proper status code for language redirection (301, 302, … 307)?

I have build a websites with multiple languages. The URLs look like: http://www.example.com/en/ http://www.example.com/de/ If the user access the main domain http://www.example.com/ the web server ...
2
votes
0answers
40 views

How lenient should I be when checking the range header parameters?

I made more of my URLs now accept the HTTP range request so that only user requested bytes of the document can be parsed. This is the range header my code supports: range: bytes=s-e where s is the ...
5
votes
2answers
243 views

Is it an overkill to specify the accept-ranges header for small HTML pages?

I tested my site homepage through rigor.com (formerly zoompf.com) and they believe all resources should have an accept-ranges header, but since my HTML code size is under 20 KB (mostly under 10 KB), I ...
1
vote
2answers
4k views

Redirect subdomain http:// to https:// - too many redirects

I'm trying to redirect http://sub.domain.com to https://sub.domain.com. I have turned the web upside down trying every .htaccess and PHP script out there, and all of them give me the "Too Many ...
4
votes
1answer
73 views

Splitting an existing site into sub-domains and using a landing page with an http 301 - is this just wrong?

I currently manage a website for a large(ish) primary school. I'm in the process of rebuilding their website, and have had a thought today about how to potentially better organise the content. We ...
4
votes
1answer
5k views

How to redirect HTTPS to HTTP behind proxy (CloudFlare)

I want to redirect HTTPs to HTTP, I tried following code in .htaccess file Options +FollowSymlinks RewriteEngine on RewriteCond %{SERVER_PORT} ^443$ RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=...
2
votes
1answer
3k views

HTTP request to an API has been blocked from an HTTPS website

I am facing problem to call web service which is hosted over HTTP and I am calling web service from HTTPS domain. web service's .htaccess RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f ...
3
votes
1answer
1k views

What are the differences between a regular HTTP web server and a REST server?

I am learning about REST services and from what I understood until now the only difference is the language of the file that is outputted by the script that runs as a backend. Can a regular web server ...
2
votes
1answer
44 views

What data does AddThis share with social media platforms?

If I have AddThis Share and Follow buttons integrated on my site, is there a way to tell whether the AddThis script passes any data (such as HTTP referrer) to the social networking sites upon page ...
3
votes
2answers
507 views

Redirecting specific URL from HTTPS to HTTP

Long time lurker, first time caller... I have a backend like admin.mysite.com which is able to use HTTPS (has a certificate installed, etc) - but that admin portal is a CMS backend for a number of ...
14
votes
5answers
10k views

How can I find out what other websites are hosted from my website IP address and why is that important from SEO point of view?

I heard that is important from a SEO perspective what other websites are hosted on the IP address on which my website is stored. Do other websites hosted on my server/VPS affect my search results in ...
1
vote
1answer
317 views

How to add http:// prefix to subdomain redirect in htaccess

I am rewriting a subdomain URL with a query (cart.example.net/ProductDetail.jsp?LISTID=7C0400-1101763508) to a www subdomain (www.example.net/product-category/product). The problem I am facing is the ...