Siteground: Multible redirects
-
I’m having an issue with my wordpress site that is hosted by siteground. I’ve spent hours trying to solve with no success. Siteground support says that I should get a webdeveloper, but I think it is actually an issue with their nginx
server so they would have to fix it on their end (I don’t have access to nginx server settings).If I visit https://cordvision.com it gets redirected to https://www.cordvision.com/ which then gets redirected to https://www.cordvision.com/.
I want it to go directly to https://www.cordvision.com/.
Here is what I believe is the relevant information:
My .htaccess file:
<IfModule mod_rewrite.c>
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
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
My WordPress Setting
WordPress Address: https://www.cordvision.com
Site URL: https://www.cordvision.comDNS Zone File Screenshot of relevant entries:
https://i.stack.imgur.com/Rwvpl.pngI’m using cloudflaire through siteground (dns handled by siteground)
(I found that https://www.redirect-checker.org/index.php might offer some useful information for trouble shooting)
Any chance somebody can identify what causes the unnecessary redirect? Could it be indeed an nginx redirect? Any help is appreciated!
The page I need help with: [log in to see the link]
- The topic ‘Siteground: Multible redirects’ is closed to new replies.