• Resolved samnasr

    (@samnasr)


    hello i installed the plugin it works fine. except for one link https://www.basinstreethair.com/ all other types of links are redirecting ok.

    But this link https://www.basinstreethair.com/ is redirecting 19 times according to redirect checker http://www.redirect-checker.org/index.php . should i remove the plugin and make the site http again?

    here is the image link for my settings . . & also here is my .htaccess code in the route of the directory :

    # Apache config
    <FilesMatch ".(eot|ttf|otf|woff)">
     Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE image/svg+xml
    </IfModule>
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType text/css A2419200
    ExpiresByType text/x-component A2419200
    ExpiresByType application/x-javascript A2419200
    ExpiresByType application/javascript A2419200
    ExpiresByType text/javascript A2419200
    ExpiresByType text/x-js A2419200
    ExpiresByType text/html A3600
    ExpiresByType text/richtext A3600
    ExpiresByType image/svg+xml A3600
    ExpiresByType text/plain A3600
    ExpiresByType text/xsd A3600
    ExpiresByType text/xsl A3600
    ExpiresByType text/xml A3600
    ExpiresByType video/asf A2419200
    ExpiresByType video/avi A2419200
    ExpiresByType image/bmp A2419200
    ExpiresByType application/java A2419200
    ExpiresByType video/divx A2419200
    ExpiresByType application/msword A2419200
    ExpiresByType application/vnd.ms-fontobject A2419200
    ExpiresByType application/x-msdownload A2419200
    ExpiresByType image/gif A2419200
    ExpiresByType application/x-gzip A2419200
    ExpiresByType image/x-icon A2419200
    ExpiresByType image/jpeg A2419200
    ExpiresByType application/json A2419200
    ExpiresByType application/vnd.ms-access A2419200
    ExpiresByType audio/midi A2419200
    ExpiresByType video/quicktime A2419200
    ExpiresByType audio/mpeg A2419200
    ExpiresByType video/mp4 A2419200
    ExpiresByType video/mpeg A2419200
    ExpiresByType application/vnd.ms-project A2419200
    ExpiresByType application/x-font-otf A2419200
    ExpiresByType application/vnd.ms-opentype A2419200
    ExpiresByType application/vnd.oasis.opendocument.database A2419200
    ExpiresByType application/vnd.oasis.opendocument.chart A2419200
    ExpiresByType application/vnd.oasis.opendocument.formula A2419200
    ExpiresByType application/vnd.oasis.opendocument.graphics A2419200
    ExpiresByType application/vnd.oasis.opendocument.presentation A2419200
    ExpiresByType application/vnd.oasis.opendocument.spreadsheet A2419200
    ExpiresByType application/vnd.oasis.opendocument.text A2419200
    ExpiresByType audio/ogg A2419200
    ExpiresByType application/pdf A2419200
    ExpiresByType image/png A2419200
    ExpiresByType application/vnd.ms-powerpoint A2419200
    ExpiresByType audio/x-realaudio A2419200
    ExpiresByType image/svg+xml A2419200
    ExpiresByType application/x-shockwave-flash A2419200
    ExpiresByType application/x-tar A2419200
    ExpiresByType image/tiff A2419200
    ExpiresByType application/x-font-ttf A2419200
    ExpiresByType application/vnd.ms-opentype A2419200
    ExpiresByType audio/wav A2419200
    ExpiresByType audio/wma A2419200
    ExpiresByType application/vnd.ms-write A2419200
    ExpiresByType application/font-woff A2419200
    ExpiresByType application/vnd.ms-excel A2419200
    ExpiresByType application/zip A2419200
    </IfModule>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    AddHandler x-mapp-php5.5  .php
    
    # BEGIN rlrssslReallySimpleSSL rsssl_version[2.5.23]
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    </IfModule>
    # END rlrssslReallySimpleSSL
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    please advise what should i do

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    I see you are using CloudFlare. To prevent loops with CloudFlare, there are a few settings you have to check. I’ve described the different options in this article:
    https://really-simple-ssl.com/knowledge-base/ssl-cloudflare-really-simple-ssl/

    Usually, the issue is either in page rules, or in Flexible SSL versus strict SSL.

    Thread Starter samnasr

    (@samnasr)

    hello there Rogier thank you for the swift response! you are awesome.
    Unfortunately i am not using cloudflare directly. it is my hosting provider using it directly so i have no control over it or an actual account with cloudflare.

    I have 1&1 hosting and they didnt tell me i have cloudlfare for cdn

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    I think CloudFlare is the most likely cause for the loop, but can’t say for sure. If it’s not CloudFlare, there maybe is a custom redirect to http:// on your site, which might conflict with the redirect to https from Really Simple SSL. You can check your site for redirect plugins etc. Your htaccess does not contain such a redirect.

    Maybe your hosting company can tell you more about the configuration options you have for CloudFlare.

    Thread Starter samnasr

    (@samnasr)

    the only redirect i have on the site is Yoast Seo and they are redirects from the old html site we had years ago. If i turn off yoast and test it would the directs via Yoast disappear long enough to see?

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    It can’t hurt to try, but as the redirect is a generic redirect on your root url, I don’t think this is the cause. I haven’t seen any such issues with Yoast either, so that’s not likely.

    But.. CloudFlare seems more likely. I’ve recently seen the exact same issue (www domain redirect loop, non www domain working fine, no redirect to http on the site), where switching CloudFlare to full SSL resolved the issue. I would contact your hosting company to see if that is possible.

    Thread Starter samnasr

    (@samnasr)

    i deactivated yoast the problem persists. i will call my hosting soon. what should i tell them to do . i read the link you provided not sure what to tell them

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Ask them if your site is on flexible SSL, and if it’s possible to switch to full SSL, which I think will fix the problem.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Were you able to fix this?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Error too Many redirects’ is closed to new replies.