Author Topic: ignore http requests  (Read 6437 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
ignore http requests
« on: February 06, 2020, 09:43:33 PM »
Whats the best way to serve only https? 

Offline
****
Re: ignore http requests
« Reply #1 on: February 06, 2020, 09:53:43 PM »
Redirect in non ssl to ssl
Google Hangouts:  rcschaff82@gmail.com

Offline
***
Re: ignore http requests
« Reply #2 on: February 06, 2020, 10:58:15 PM »
I dont want redirect.  Google is complaining about wasted time. I want http to die.

Offline
****
Re: ignore http requests
« Reply #3 on: February 06, 2020, 11:14:41 PM »
If you don't have http redirect, you would have to explicitly add https to all of your requests to the server.  Why don't you tell Google that your site is https in your google panel, and leave the redirect for people who just type yourdomain.com into their browser.

Also, your redirect should be at the top of your config so it doesn't have to go through all the bs before redirecting. That can slow it down.  as far as i'm aware, your non-ssl only needs 3 configurations.   ServerName, DocumentRoot and Redirect
Google Hangouts:  rcschaff82@gmail.com

Offline
***
Re: ignore http requests
« Reply #4 on: February 06, 2020, 11:33:22 PM »
Can I change httpd to 443 instead of 80?

Offline
****
Re: ignore http requests
« Reply #5 on: February 06, 2020, 11:59:41 PM »
If your server does not serve a non-http redirect on port 80, i guarantee you, you will lose traffic. Until sometime in 2021 when standard http class is finally rescinded, http is still the standard port browsers will use to get to your site.   You can tell google crawler to explicitly crawl your site https only in the google domain  https://search.google.com/search-console?
Google Hangouts:  rcschaff82@gmail.com

Offline
***
Re: ignore http requests
« Reply #6 on: February 07, 2020, 12:01:04 AM »
Can I change httpd to 443 instead of 80?

NO.  But you can leave it blank and http will not load nor redirect if you have the htaccess file set for redirect.  Thats what I wanted.  I tried listen 443 but got an error that said basically, some other service (ssl) was already using that port.

Offline
***
Re: ignore http requests
« Reply #7 on: February 07, 2020, 12:02:58 AM »
If your server does not serve a non-http redirect on port 80, i guarantee you, you will lose traffic. Until sometime in 2021 when standard http class is finally rescinded, http is still the standard port browsers will use to get to your site.   You can tell google crawler to explicitly crawl your site https only in the google domain  https://search.google.com/search-console?

I suppose you might be right. But my rankings will not be effected.  When I type  without protocol it takes me to https now, but that might be my cache.  Looks like its the cache that makes it work.  So I guess I will have to wait til 2021
« Last Edit: February 07, 2020, 12:16:04 AM by pixelpadre »