wordpress site error, url broken when accessing without www. over https
-
Hi @all,
When I try to access a link like this:
https://tamada.koeln/home/hochzeitsfotos-vv-studio/
(a link without subdomain extension “www.” in domain name)the site gets forwarded to this url:
https://www.tamada.koelnhome/hochzeitsfotos-vv-studio/
The “/” get erased and that loads to a broken link.If I try to access the site by this link:
https://www.tamada.koeln/home/hochzeitsfotos-vv-studio/
this works.Is there sth corrupt with the “.htaccess” file, does anyone have an idea?
PS: It is impoortant to say, this error appeard for the first time, after I have moved my site from strato to another hosting Company (webGo in that case).
.htacess content:
# BEGIN WordPress # Die Anweisungen (Zeilen) zwischen „BEGIN WordPress“ und „END WordPress“ sind # dynamisch generiert und sollten nur über WordPress-Filter geändert werden. # Alle Änderungen an den Anweisungen zwischen diesen Markierungen werden überschrieben. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress # BEGIN SMUSH-WEBP # Die Anweisungen (Zeilen) zwischen „BEGIN SMUSH-WEBP“ und „END SMUSH-WEBP“ sind # dynamisch generiert und sollten nur über WordPress-Filter geändert werden. # Alle Änderungen an den Anweisungen zwischen diesen Markierungen werden überschrieben. <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{DOCUMENT_ROOT}/wp-content/smush-webp/disable_smush_webp !-f RewriteCond %{HTTP_ACCEPT} image/webp RewriteCond %{DOCUMENT_ROOT}/wp-content/smush-webp/$1.webp -f RewriteRule wp-content/uploads/(.*\.(?:png|jpe?g))$ wp-content/smush-webp/$1.webp [NC,T=image/webp] </IfModule> <IfModule mod_headers.c> Header append Vary Accept env=WEBP_image </IfModule> <IfModule mod_mime.c> AddType image/webp .webp </IfModule> # END SMUSH-WEBP
I think there is missing some configuration for https: request or sth. like this.
Thanks in advance.
ArturroThe page I need help with: [