The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. One of my Friend's website Domain Authority is Reducing? What could be the reason?

    One of my Friend's website Domain Authority is Reducing? What could be the reason?

    Intermediate & Advanced SEO
    4 2 302
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Max_
      Max_ last edited by

      Hello Guys,

      One of my friend's website domain authority is decreasing since they have moved their domain from HTTP to https. 
      There is another problem that his blog is on subfolder with HTTP.
      So, can you guys please tell me how to fix this issue and also it's losing some of the rankings like 2-5 positions down.

      Here is website URL: myfitfuel.in/
      here is the blog URL: myfitfuel.in/mffblog/

      1 Reply Last reply Reply Quote 0
      • BlueprintMarketing
        BlueprintMarketing last edited by

        It makes no sense that you would have your blog on a subfolder that was non-encrypted why did you choose to do this? I like the site to be 100% encrypted?

        Read the second post first please

        http://www.myfitfuel.in/mffblog/ should be https://www.myfitfuel.in/mffblog/

        why not https?

        https://www.myfitfuel.in/

        if your hosting provider does not allow you to use HTTP/2 I suggest adding a WAF four as little as $20 a month you can run your site on HTTP/2

        Now the cost of Akamai might scare people just from hearing the name, but I can assure you there are very good pricing options now that companies are competing against them in the same area. One thing in my opinion that no other CDN Waf company has is the amount of points of presence or pops/ Akamai exceeds over 250

        https://community.akamai.com/community/web-performance/blog/2015/01/26/enabling-http2-h2-in-akamai

        https://http2.akamai.com/

        https://http2.akamai.com/demo

        https://www.cloudflare.com/

        https://www.cloudflare.com/http2/

        https://www.incapsula.com/

        https://www.incapsula.com/cdn-guide/cdn-and-ssl-tls.html

        when you switch your entire site over to https, then you can use the Google change of address tool and migrate your site to HTTPS

        This should be encrypted you don't need a next or certificate you want to encrypt the entire site ideally. Add it to Google Webmaster Tools four times

        1. http://www.myfitfuel.in/
        2. http://myfitfuel.in/
        3. https://www.myfitfuel.in/
        4. https://myfitfuel.in/ Canonical chooses this in Webmaster tools like the site you want traffic to go to.

        https://support.google.com/webmasters/topic/6029673?hl=en&ref_topic=6001951

        https://www.deepcrawl.com/knowledge/best-practice/the-zen-guide-to-https-configuration/

        https://www.deepcrawl.com/knowledge/best-practice/hsts-a-tool-for-http-to-https-migration/

        elb 2.2.15 | intermediate profile | OpenSSL 1.0.1e | link

        Oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7

        This Amazon Web Services CloudFormation template will create an Elastic Load Balancer which terminates HTTPS connections using the Mozilla recommended ciphersuites and protocols.

        {
            "AWSTemplateFormatVersion": "2010-09-09",
            "Description": "Example ELB with Mozilla recommended ciphersuite",
            "Parameters": {
                "SSLCertificateId": {
                    "Description": "The ARN of the SSL certificate to use",
                    "Type": "String",
                    "AllowedPattern": "^arn:[^:]*:[^:]*:[^:]*:[^:]*:.*$",
                    "ConstraintDescription": "SSL Certificate ID must be a valid ARN. http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-arns"
                }
            },
            "Resources": {
                "ExampleELB": {
                    "Type": "AWS::ElasticLoadBalancing::LoadBalancer",
                    "Properties": {
                        "Listeners": [
                            {
                                "LoadBalancerPort": "443",
                                "InstancePort": "80",
                                "PolicyNames": [
                                    "Mozilla-intermediate-2015-03"
                                ],
                                "SSLCertificateId": {
                                    "Ref": "SSLCertificateId"
                                },
                                "Protocol": "HTTPS"
                            }
                        ],
                        "AvailabilityZones": {
                            "Fn::GetAZs": ""
                        },
                        "Policies": [
                            {
                                "PolicyName": "Mozilla-intermediate-2015-03",
                                "PolicyType": "SSLNegotiationPolicyType",
                                "Attributes": [
                                    {
                                        "Name": "Protocol-TLSv1",
                                        "Value": true
                                    },
                                    {
                                        "Name": "Protocol-TLSv1.1",
                                        "Value": true
                                    },
                                    {
                                        "Name": "Protocol-TLSv1.2",
                                        "Value": true
                                    },
                                    {
                                        "Name": "Server-Defined-Cipher-Order",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-ECDSA-CHACHA20-POLY1305",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-RSA-CHACHA20-POLY1305",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-ECDSA-AES128-GCM-SHA256",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-RSA-AES128-GCM-SHA256",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-ECDSA-AES256-GCM-SHA384",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-RSA-AES256-GCM-SHA384",
                                        "Value": true
                                    },
                                    {
                                        "Name": "DHE-RSA-AES128-GCM-SHA256",
                                        "Value": true
                                    },
                                    {
                                        "Name": "DHE-RSA-AES256-GCM-SHA384",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-ECDSA-AES128-SHA256",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-RSA-AES128-SHA256",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-ECDSA-AES128-SHA",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-RSA-AES256-SHA384",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-RSA-AES128-SHA",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-ECDSA-AES256-SHA384",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-ECDSA-AES256-SHA",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-RSA-AES256-SHA",
                                        "Value": true
                                    },
                                    {
                                        "Name": "DHE-RSA-AES128-SHA256",
                                        "Value": true
                                    },
                                    {
                                        "Name": "DHE-RSA-AES128-SHA",
                                        "Value": true
                                    },
                                    {
                                        "Name": "DHE-RSA-AES256-SHA256",
                                        "Value": true
                                    },
                                    {
                                        "Name": "DHE-RSA-AES256-SHA",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-ECDSA-DES-CBC3-SHA",
                                        "Value": true
                                    },
                                    {
                                        "Name": "ECDHE-RSA-DES-CBC3-SHA",
                                        "Value": true
                                    },
                                    {
                                        "Name": "EDH-RSA-DES-CBC3-SHA",
                                        "Value": true
                                    },
                                    {
                                        "Name": "AES128-GCM-SHA256",
                                        "Value": true
                                    },
                                    {
                                        "Name": "AES256-GCM-SHA384",
                                        "Value": true
                                    },
                                    {
                                        "Name": "AES128-SHA256",
                                        "Value": true
                                    },
                                    {
                                        "Name": "AES256-SHA256",
                                        "Value": true
                                    },
                                    {
                                        "Name": "AES128-SHA",
                                        "Value": true
                                    },
                                    {
                                        "Name": "AES256-SHA",
                                        "Value": true
                                    },
                                    {
                                        "Name": "DES-CBC3-SHA",
                                        "Value": true
                                    }
                                ]
                            }
                        ]
                    }
                }
            },
            "Outputs": {
                "ELBDNSName": {
                    "Description": "DNS entry point to the stack (all ELBs)",
                    "Value": {
                        "Fn::GetAtt": [
                            "ExampleELB",
                            "DNSName"
                        ]
                    }
                }
            }
        }
        

        ** here are some fantastic resources from https://mozilla.github.io/server-side-tls/ssl-config-generator/ for setting up your server These things need to be put in place**

        Nginx 1.10.1 | intermediate profile | OpenSSL 1.0.1e | link

        Oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7

        server {
            listen 80 default_server;
            listen [::]:80 default_server;
        
            # Redirect all HTTP requests to HTTPS with a 301 Moved Permanently response.
            return 301 https://$host$request_uri;
        }
        
        server {
            listen 443 ssl http2;
            listen [::]:443 ssl http2;
        
            # certs sent to the client in SERVER HELLO are concatenated in ssl_certificate
            ssl_certificate /path/to/signed_cert_plus_intermediates;
            ssl_certificate_key /path/to/private_key;
            ssl_session_timeout 1d;
            ssl_session_cache shared:SSL:50m;
            ssl_session_tickets off;
        
            # Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits
            ssl_dhparam /path/to/dhparam.pem;
        
            # intermediate configuration. tweak to your needs.
            ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
            ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS';
            ssl_prefer_server_ciphers on;
        
            # HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
            add_header Strict-Transport-Security max-age=15768000;
        
            # OCSP Stapling ---
            # fetch OCSP records from URL in ssl_certificate and cache them
            ssl_stapling on;
            ssl_stapling_verify on;
        
            ## verify chain of trust of OCSP response using Root CA and Intermediate certs
            ssl_trusted_certificate /path/to/root_CA_cert_plus_intermediates;
        
            resolver <ip dns="" resolver="">;
        
            ....
        }</ip>
        

        Apache 2.4.18 | intermediate profile | OpenSSL 1.0.1e | link

        Oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8

         <virtualhost *:443="">...
            SSLEngine on
            SSLCertificateFile      /path/to/signed_certificate_followed_by_intermediate_certs
            SSLCertificateKeyFile   /path/to/private/key
        
            # Uncomment the following directive when using client certificate authentication
            #SSLCACertificateFile    /path/to/ca_certs_for_client_authentication
        
            # HSTS (mod_headers is required) (15768000 seconds = 6 months)
            Header always set Strict-Transport-Security "max-age=15768000"
            ...</virtualhost> 
        
        # intermediate configuration, tweak to your needs
        SSLProtocol             all -SSLv3
        SSLCipherSuite          ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
        SSLHonorCipherOrder     on
        SSLCompression          off
        SSLSessionTickets       off
        
        # OCSP Stapling, only in httpd 2.3.3 and later
        SSLUseStapling          on
        SSLStaplingResponderTimeout 5
        SSLStaplingReturnResponderErrors off
        SSLStaplingCache        shmcb:/var/run/ocsp(128000)
        
        

        After you change the architecture of any website it normally takes a little bit of a dive. John Mu stated Google would not be punishing people to redirect to encrypted sites so while that might be true it doesn't mean Google has figured out what is going on yet.

        I think you need to get Google crawling your site and have it in Webmaster tools with all of the pages redirected to https including adding things like HSTS and HTTP/2 to speed up your site.

        Hope this helps,

        Tom

        DtwWC04.png ktAfXbQ.png W3reXrg.png HlIoGUQ.png

        1 Reply Last reply Reply Quote 0
        • BlueprintMarketing
          BlueprintMarketing last edited by

          May I ask did your friend modify any of the site structure aside from adding HTTPS?

          make sure you have followed all the steps in this list by Google link to your and the list below. There are more resources

          if needed. Read what Google's John Mueller has to say on the subject of redirects.

          Official Google moving to HTTS how to

          https://support.google.com/webmasters/answer/6033049

          **  tools you can use**

          • https://www.screamingfrog.co.uk/log-file-analyser/
          • https://www.deepcrawl.com
          • https://www.screamingfrog.co.uk/seo-spider/

          **  a very important checklist make sure you do this one below.**

          SEO checklist to preserve your rankings

          • Make sure every element of your website uses HTTPS, including widgets, java script, CSS files, images and your content delivery network.

          • Use 301 redirects to point all HTTP URLs to HTTPS. This is a no-brainer to most SEOs, but you'd be surprised how often a 302 (temporary) redirect finds its way to the homepage by accident

          • Make sure all canonical tags point to the HTTPS version of the URL.

          • Use relative URLs whenever possible.

          • Rewrite hard-coded internal links (as many as is possible) to point to HTTPS. This is superior to pointing to the HTTP version and relying on 301 redirects.

          • Register the HTTPS version in both Google and Bing Webmaster Tools.

          • Use the Fetch and Render function in Webmaster Tools to ensure Google can properly crawl and render your site.

          • Update your sitemaps to reflect the new URLs. Submit the new sitemaps to Webmaster Tools. Leave your old (HTTP) sitemaps in place for 30 days so search engines can crawl and "process" your 301 redirects.

          • Update your robots.txt file. Add your new sitemaps to the file. Make sure your robots.txt doesn't block any important pages.

          • If necessary, update your analytics tracking code. Most modern Google Analytics tracking snippets already handle HTTPS, but older code may need a second look.

          • Implement HTTP Strict Transport Security (HSTS). This response header tells user agents to only access HTTPS pages even when directed to an HTTP page. This eliminates redirects, speeds up response time, and provides extra security.

          • If you have a disavow file, be sure to transfer over any disavowed URLs into a duplicate file in your new Webmaster Tools profile.

          • NGINX

            Add the following to your Nginx config.

            server {
            listen 80;
            server_name domain.com www.domain.com;
            return 301 https://domain.com$request_uri;
            }
            

            Apache

            Add the following to your .htaccess file.

            RewriteEngine On
            RewriteCond %{HTTPS} off
            RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
            
          • ** Here are some more extremely helpful resources**

          • https://moz.com/blog/seo-tips-https-ssl

          • https://www.keycdn.com/blog/http-to-https/

          • https://plus.google.com/+JohnMueller/posts/PY1xCWbeDVC

          • https://www.seroundtable.com/google-seo-http-to-https-migration-checklist-19268.html

          It is not abnormal for a site to see a dip in rankings or search visibility after migration or a change of structure. I have a very regimented list that I stick to and have not seen anything dip for more than three days, but all sites are unique, and Google indexes all sites differently.

          Depending on your domain authority you may or may not have a higher crawl budget based on whether or not you tell Google you are making these changes will make an enormous difference in whether or not your site recovers quickly or sees a dip in traffic.

          I hope this is helpful and remember Google has to reindex everything.

          Thomas

          Zz2Sq0Q.png ZQR9UK9.png

          1 Reply Last reply Reply Quote 0
          • BlueprintMarketing
            BlueprintMarketing last edited by

            http://www.redirect-checker.org/index.php

            http://www.contentforest.com/seo-tools/redirect-checker

            See http://i.imgur.com/mIqqCla.png

            Redirecting all traffic to the www SSL domain

            You can force all of your traffic to go to the www domain, and to use SSL, even if they did not request it initially.

            ensure www.

            RewriteCond %{HTTP_HOST} !^www. [NC]
            RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

            ensure https

            RewriteCond %{HTTP:X-Forwarded-Proto} !https
            RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

            Redirecting all traffic to the bare SSL domain

            With dedicated load balancers or who have purchased a slot on the UCC certificate on shared load balancers have the option of redirecting all traffic to the bare domain using the HTTPS protocol:

            # Redirecting http://www.domain.com and https://www.domain.com to https://domain.com RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^(.*)$ https://%1%{REQUEST_URI} [L,R=301]

            Redirecting http://domain.com to https://domain.com

            RewriteCond %{HTTPS} off
            RewriteCond %{HTTP:X-Forwarded-Proto} !https
            RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

            An example of how the requests work

            The preceding examples of how and when you would use a rewrite are complex; here's a breakdown of the scenarios, which may help you determine what your website really needs.

            A security warning will occur on a bare domain only if the request specifically includes the https protocol, like https://mysite.com, and there's no SSL certificate on the load balancer that covers the bare domain. A request for http://mysite.com using the http protocol, however, will not produce a security warning because a secure connection to the bare domain has not been requested.

            | Domain | DNS record type | IP/Hostname |
            | www.mysite.com | CNAME | dc-2459-906772057.us-east-1.elb.amazonaws.com |
            | mysite.com | A | 123.45.67.89 |

            For AWS ELB, www.mysite.com has a CNAME record that points to the hostname of the elastic load balancer (ELB), because that's where the SSL certificate is installed when it's uploaded using the self-service UI. But, bare domains/non-FQDNs like mysite.com can't have CNAME records without something like Route 53, so it must point to the elastic IP address of the balancer pair behind the ELB.

            If there's a redirect in the .htaccess file that will take all requests for the bare domain and redirect them to www, due to how the DNS records are set up, this is what happens if you request http://example.com:

            1. The request for http://mysite.com hits the load balancers behind the ELB.
            2. The .htaccess rule 301 redirects request to https://www.mysite.com.
            3. A new request for https://www.mysite.com hits the ELB where the certificate lives and everything is happy, secure, and green.

            But, if a specific request is sent to https://mysite.com with the https protocol, here's what happens:

            1. A request for https://mysite.com hits the load balancers behind the ELB.
            2. Your browser displays the normal security warning.
            3. You examine the certificate and decide to move ahead.
            4. The .htaccess rule 301 redirects request to https://www.mysite.com.
            5. A new request for https://www.mysite.com hits the ELB where the cert lives and everything is happy, secure, and green.

            Redirecting all HTTP traffic to HTTPS

            In the following example, the server variable HTTP_X_FORWARDED_PROTO is set to https if you're accessing the website using HTTPS, the following code will work with your

            Redirect HTTP to HTTPS

            RewriteCond %{HTTPS} off
            RewriteCond %{HTTP:X-Forwarded-Proto} !https
            RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

            Redirecting all HTTPS traffic to HTTP

            In addition, if visitors to a customer's website are receiving insecure content warnings due to Google indexing documents using the HTTPS protocol, traffic may need to be redirected from HTTPS to HTTP.

            The rule is basically the same as the preceding example, but without the first Rewrite condition. If no SSL certificate is installed, the value of %{HTTPS} is always set to off, even when you are accessing the website using HTTPS. Use the following rule set in this case:

            Redirect HTTPS to HTTP

            RewriteCond %{HTTP:X-Forwarded-Proto} =https
            RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

            Redirecting from a bare domain to the www subdomain

            SSL certificates can not cover the bare domain for websites unless you are using Route 53 or some other similar provider. This is because the SSL certificates for Acquia Cloud Professional websites are placed on an Elastic Load Balancer (ELB). While ELBs require CNAME records for domain name resolution, bare domains require an IP address in an A-record for the domain name (DNS) configuration and cannot have CNAME records. Therefore, it's not possible to terminate traffic to bare domains on the ELB where your SSL certificate is located without Route 53.

            Even if all requests for the bare domain are redirected to www, visitors to ELB websites that explicitly request the bare domain using the HTTPS protocol, like https://mysite.com, will always receive a security warning in their browser before being redirected to https://www.mysite.com. For a more detailed explanation of why this happens, refer to the An example of how the requests work section.

            Redirect http://domain.com to http://www.domain.com

            RewriteCond %{HTTP_HOST} !^www. [NC]
            RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

            Redirecting all traffic to the www SSL domain You want this!

            You can force all of your traffic to go to the www domain, and to use SSL, even if they did not request it initially.

            ensure www.

            RewriteCond %{HTTP_HOST} !^www. [NC]
            RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

            ensure https

            RewriteCond %{HTTP:X-Forwarded-Proto} !https
            RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

            Redirecting all traffic to the bare SSL domain

            AWS dedicated load balancers or who have purchased a slot on the UCC certificate on our shared load balancers have the option of redirecting all traffic to the bare domain using the HTTPS protocol:

            Redirecting http://www.domain.com and https://www.domain.com to https://domain.com

            RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC]
            RewriteRule ^(.*)$ https://%1%{REQUEST_URI} [L,R=301]

            Redirecting http://domain.com to https://domain.com

            RewriteCond %{HTTPS} off
            RewriteCond %{HTTP:X-Forwarded-Proto} !https
            RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

            As an example, if you wanted to ensure that all the domains were redirected to https://www. except for Acquia domains acquia-sites.com, you would use something like this:

            ensure www.

            RewriteCond %{HTTP_HOST} !prod.acquia-sites.com [NC] # exclude Acquia domains
            RewriteCond %{HTTP_HOST} !^www. [NC]
            RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

            ensure https

            RewriteCond %{HTTP:X-Forwarded-Proto} !https
            RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

            elb 2.2.15 | intermediate profile | OpenSSL 1.0.1e | link

            Oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7

            This Amazon Web Services CloudFormation template will create an Elastic Load Balancer which terminates HTTPS connections using the Mozilla recommended ciphersuites and protocols.

            {
                "AWSTemplateFormatVersion": "2010-09-09",
                "Description": "Example ELB with Mozilla recommended ciphersuite",
                "Parameters": {
                    "SSLCertificateId": {
                        "Description": "The ARN of the SSL certificate to use",
                        "Type": "String",
                        "AllowedPattern": "^arn:[^:]*:[^:]*:[^:]*:[^:]*:.*$",
                        "ConstraintDescription": "SSL Certificate ID must be a valid ARN. http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-arns"
                    }
                },
                "Resources": {
                    "ExampleELB": {
                        "Type": "AWS::ElasticLoadBalancing::LoadBalancer",
                        "Properties": {
                            "Listeners": [
                                {
                                    "LoadBalancerPort": "443",
                                    "InstancePort": "80",
                                    "PolicyNames": [
                                        "Mozilla-intermediate-2015-03"
                                    ],
                                    "SSLCertificateId": {
                                        "Ref": "SSLCertificateId"
                                    },
                                    "Protocol": "HTTPS"
                                }
                            ],
                            "AvailabilityZones": {
                                "Fn::GetAZs": ""
                            },
                            "Policies": [
                                {
                                    "PolicyName": "Mozilla-intermediate-2015-03",
                                    "PolicyType": "SSLNegotiationPolicyType",
                                    "Attributes": [
                                        {
                                            "Name": "Protocol-TLSv1",
                                            "Value": true
                                        },
                                        {
                                            "Name": "Protocol-TLSv1.1",
                                            "Value": true
                                        },
                                        {
                                            "Name": "Protocol-TLSv1.2",
                                            "Value": true
                                        },
                                        {
                                            "Name": "Server-Defined-Cipher-Order",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-ECDSA-CHACHA20-POLY1305",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-RSA-CHACHA20-POLY1305",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-ECDSA-AES128-GCM-SHA256",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-RSA-AES128-GCM-SHA256",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-ECDSA-AES256-GCM-SHA384",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-RSA-AES256-GCM-SHA384",
                                            "Value": true
                                        },
                                        {
                                            "Name": "DHE-RSA-AES128-GCM-SHA256",
                                            "Value": true
                                        },
                                        {
                                            "Name": "DHE-RSA-AES256-GCM-SHA384",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-ECDSA-AES128-SHA256",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-RSA-AES128-SHA256",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-ECDSA-AES128-SHA",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-RSA-AES256-SHA384",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-RSA-AES128-SHA",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-ECDSA-AES256-SHA384",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-ECDSA-AES256-SHA",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-RSA-AES256-SHA",
                                            "Value": true
                                        },
                                        {
                                            "Name": "DHE-RSA-AES128-SHA256",
                                            "Value": true
                                        },
                                        {
                                            "Name": "DHE-RSA-AES128-SHA",
                                            "Value": true
                                        },
                                        {
                                            "Name": "DHE-RSA-AES256-SHA256",
                                            "Value": true
                                        },
                                        {
                                            "Name": "DHE-RSA-AES256-SHA",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-ECDSA-DES-CBC3-SHA",
                                            "Value": true
                                        },
                                        {
                                            "Name": "ECDHE-RSA-DES-CBC3-SHA",
                                            "Value": true
                                        },
                                        {
                                            "Name": "EDH-RSA-DES-CBC3-SHA",
                                            "Value": true
                                        },
                                        {
                                            "Name": "AES128-GCM-SHA256",
                                            "Value": true
                                        },
                                        {
                                            "Name": "AES256-GCM-SHA384",
                                            "Value": true
                                        },
                                        {
                                            "Name": "AES128-SHA256",
                                            "Value": true
                                        },
                                        {
                                            "Name": "AES256-SHA256",
                                            "Value": true
                                        },
                                        {
                                            "Name": "AES128-SHA",
                                            "Value": true
                                        },
                                        {
                                            "Name": "AES256-SHA",
                                            "Value": true
                                        },
                                        {
                                            "Name": "DES-CBC3-SHA",
                                            "Value": true
                                        }
                                    ]
                                }
                            ]
                        }
                    }
                },
                "Outputs": {
                    "ELBDNSName": {
                        "Description": "DNS entry point to the stack (all ELBs)",
                        "Value": {
                            "Fn::GetAtt": [
                                "ExampleELB",
                                "DNSName"
                            ]
                        }
                    }
                }
            }
            
            
            • You can get managed Magento hosting here.
            • https://www.armor.com/security-solutions/armor-complete/
            • https://www.mgt-commerce.com/
            • https://www.rackspace.com/en-us/digital/magento
            • https://www.cogecopeer1.com/en/services/managed-it/ecommerce/magento/
            • https://www.cogecopeer1.com/en/services/cloud/mission-critical/
            • https://www.engineyard.com/magento
            • https://www.cloudways.com/en/magento-managed-cloud-hosting.php
            • https://www.rochen.com/magento-hosting/
            • http://www.tenzing.com/ecommerce-hosting-2/magento-optimized-hosting-on-aws/
            • https://www.siteground.com/dedicated-hosting.htm#tab-3
            • https://www.siteground.com/cloud-hosting.htm#tab-2
            • https://www.siteground.com/speed

            mIqqCla.png

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Is it worth keeping a decades-old domain that's merely 301 redirecting to the main domain?
              BartonInteractive
              BartonInteractive
              0
              6
              47

            • Will Reducing Number of Low Page Authority Page Increase Domain Authority?
              Martijn_Scheijbeler
              Martijn_Scheijbeler
              0
              3
              135

            • Purchasing an existing domain + redirecting to company's domain
              max.favilli
              max.favilli
              0
              3
              180

            • We sold our site's domain and have a new one. Where do we go from here?
              responsivelabs
              responsivelabs
              0
              5
              104

            • Does anyone know why my website's domain authority has dropped from 51 to 49
              CertificationEU
              CertificationEU
              1
              8
              511

            • Can SEO increase a page's Authority? Or can Authority only be earned via #RCS?
              Dr-Pete
              Dr-Pete
              1
              12
              863

            • How does a competing website with clearly black hat style SEO tactics, have a far higher domain authority than our website that only uses legitimate link building tactics?
              Peter.Huxley59
              Peter.Huxley59
              0
              6
              492

            • There's a website I'm working with that has a .php extension. All the pages do. What's the best practice to remove the .php extension across all pages?
              digisavvy
              digisavvy
              0
              5
              445

            Get started with Moz Pro!

            Unlock the power of advanced SEO tools and data-driven insights.

            Start my free trial
            Products
            • Moz Pro
            • Moz Local
            • Moz API
            • Moz Data
            • STAT
            • Product Updates
            Moz Solutions
            • SMB Solutions
            • Agency Solutions
            • Enterprise Solutions
            • Digital Marketers
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • Local Citation Checker
            • MozBar Extension
            • MozCast
            Resources
            • Blog
            • SEO Learning Center
            • Help Hub
            • Beginner's Guide to SEO
            • How-to Guides
            • Moz Academy
            • API Docs
            About Moz
            • About
            • Team
            • Careers
            • Contact
            Why Moz
            • Case Studies
            • Testimonials
            Get Involved
            • Become an Affiliate
            • MozCon
            • Webinars
            • Practical Marketer Series
            • MozPod
            Connect with us

            Contact the Help team

            Join our newsletter
            Moz logo
            © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy