Title: wordpress site error, url broken when accessing without www. over https
Last modified: May 12, 2022

---

# wordpress site error, url broken when accessing without www. over https

 *  [sergantrocks](https://wordpress.org/support/users/sergantrocks/)
 * (@sergantrocks)
 * [4 years ago](https://wordpress.org/support/topic/wordpress-site-error-url-broken-when-accessing-without-www-over-https/)
 * Hi [@all](https://wordpress.org/support/users/all/),
 * When I try to access a link like this:
    [https://tamada.koeln/home/hochzeitsfotos-vv-studio/](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/](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/](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. Arturro
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-site-error-url-broken-when-accessing-without-www-over-https%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [WP STAGING | BACKUP](https://wordpress.org/support/users/wpstagingbackup/)
 * (@wpstagingbackup)
 * [4 years ago](https://wordpress.org/support/topic/wordpress-site-error-url-broken-when-accessing-without-www-over-https/#post-15642807)
 * My guess is that the “home” or “siteurl” option in the database points to [https://www.tamada.koelnhome](https://www.tamada.koelnhome).
 * Login to your website’s database via phpmyadmin and search for “siteurl” and “
   home”. Then change the link manually to the correct one [https://tamada.koeln/home](https://tamada.koeln/home)
 * If you did and you are able to login again to your site, install a plugin like
   better search replace and run another full search replacement to find all other
   occurances of this wrong string.
 * Edit: I see you already fixed the issue. What was it?
 * Please always provide the solution here when you open a support thread and already
   solved it on your own.
 * Cheers
    René

Viewing 1 replies (of 1 total)

The topic ‘wordpress site error, url broken when accessing without www. over https’
is closed to new replies.

## Tags

 * [url](https://wordpress.org/support/topic-tag/url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [WP STAGING | BACKUP](https://wordpress.org/support/users/wpstagingbackup/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/wordpress-site-error-url-broken-when-accessing-without-www-over-https/#post-15642807)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
