Domain names - Redirection and https not connecting without the WWW
... / Redirection and https not...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Redirection and https not connecting without the WWW

Von
PaulH5
Erstellungsdatum 2020-08-11 20:42:58 (edited on 2024-09-04 14:25:14) in Domain names

I have had a few issues with my redirects. (i have left off the end of the URL as i cannot post more than 2 links)
i have managed to now get all variations of http and blank and https to point to https :// www . Mysite
without and off www .www . issues

however it wont fix when i leave the www. subdomain off with https ( https :/ / mysite )

Currently i have these redirections set up on my dashboard:
> www . Mysite to a server (IPv4 - A) xx.xxx.xxx.xxx
> Mysite Permanent visible redirection https : // www . Mysite

htaccess is as follows
>
> RewriteEngine On
> RewriteCond %{HTTPS} !=on
> RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
> RewriteRule ^index\.php$ - [L]
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule . /index.php [L]
> Redirect gone /404.php

Can someone help were i have gone wrong as i have got into a right mess trying to fix this. and cant get my head around why changing either causes loops or issues such as double WWW . (https // www . www .mysite)

cheers
Paul


Antworten sind derzeit für diese Frage deaktiviert.