Skip to main content

All Questions

1 vote
1 answer
178 views

Apache and AWS HTTP to HTTPS Header Issue

I am using AWS Cloudfront and AWS Loadbalancer to serve our website. The LB redirects to traffic coming from HTTP to HTTPS. On Cloudfront you can add HEADERS and I added both apache2 config file and ...
devopsroad's user avatar
1 vote
0 answers
264 views

How can I get http response with 301 code using python sockets

I am sending a get request to any host using sockets tcp, but I keep on getting "301 Moved Permanently" from pages with https. I have tried to do it by changing the port from 80 to 443. I ...
TheBened's user avatar
0 votes
1 answer
208 views

Node js HTTPS get request for Instagram post information (?__a=1) request returning 301 status code in Vercel

I'm trying to get public post information from Instagram using this - https://instagram.com/p/{id}?__a=1 link in Node.js using https get request. The problem is that it works in my local server but as ...
Shashank's user avatar
0 votes
1 answer
31 views

Is it safe to assume that a page is redirecting if a "Location" header is received?

I'm creating a JavaScript function to follow redirects using Node.JS's native HTTPS module. Is it safe to assume if there is a "Location" header that the page is redirecting, or should I also be ...
broment's user avatar
  • 76
1 vote
0 answers
192 views

In my Live project I've been trying to force the non-www URL to www URL

It has no error directing to https but it doesn't work in directing the non-www to www. Here I've given my .htaccess file for your reference. RewriteEngine On RewriteCond %{HTTPS} on RewriteCond %{...
Sunil Ahir's user avatar
-1 votes
2 answers
1k views

How to redirect non-www to www on my Wordpress website

I'm trying to redirect all the requests from https://mywebsite.com to https://www.mywebsite.com (Wordpress Website). I activated SSL and used the "Really Simple SSL" plugin to enable https. Redirect ...
giovinazzo17's user avatar
0 votes
1 answer
1k views

How to redirect naked domain directly to https://www domain in Azure

I have a website on azure and I am trying to remove some redirect chains... exactly I would like to move from naked domain to www domain in https without passing from the http version. I do some ...
Simone's user avatar
  • 2,410
0 votes
0 answers
77 views

Subdomain serving main domain content on https

I got a website with a main domain, and a subdomain. I use nginx. On the main domain I have https and not on the subdomain. However, https://sub.domain.com is serving the content of domain.com, with a ...
user3202532's user avatar
4 votes
2 answers
623 views

Redirecting from https to http?

Strange problem here. I use FullCalendar to initiate an ajax request to an endpoint on my server. Endpoint is: https://my_website/events/?start=2019-03-31&end=2019-05-12&_=1555698739056 ...
WillardSolutions's user avatar
0 votes
1 answer
258 views

Nginx HTTP to HTTPS 301 loop redirect

I need to make HTTP->HTTPS redirection for whole site, but every time I get error message with 301 loop redirection. Please correct my conf to not get 301 error.Here is my conf file: upstream live { ...
user37033's user avatar
  • 409
0 votes
0 answers
25 views

https://domain dot com to https://www.domain dot com without editing .htaccess file

I recently moved my site to HTTPS on a new host, and I'm trying to force all https non-www traffic to the https www version, since the non-www version doesn't work. i.e forcing https:// domain .com ...
David Stark's user avatar
-1 votes
1 answer
80 views

301 rewrite rule causes SEO alert

I use the following rewrtie rule to enforce visitors using HTTPS in my website. SEO check tools mark this redirection as a negative SEO parameter. How should I set 200 status code for redirecting to ...
Ali Sheikhpour's user avatar
0 votes
1 answer
117 views

Should I use http or https for tracking links?

I want to build a service that helps people tracking their links. Visitors click on my link url.com/123, they will be redirected to the destination website as below: Visitors in site A --> url.com/...
Alex's user avatar
  • 11
1 vote
0 answers
30 views

HTTP to HTTPS redirect using .htaccess file not working

RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] ErrorDocument 404 https://whatmovieshouldiwatchtoday.com/error404.php php_flag display_errors ...
sdad's user avatar
  • 55
0 votes
2 answers
574 views

How do I redirect ALL my protocol-relative URLs to https:// urls?

I just set up my Wordpress domain to have an SSL certificate. It's working fine within the site, but if I'm coming from anywhere outside of my own website with anything other than https:// at the ...
akurjata's user avatar

15 30 50 per page