There is a website bird music. If you go to the URL bird-muzyka.rf , then all the rules. And if you add in the URL www.ptitsa muzyka.rf , then the white screen of death.

What could be the problem? In the domain. RF, setting up a redirect?

Address WordPress and site settings http: //xn----7sbb1acpmu1ao3a9d.xn--p1ai

htaccess

<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index1\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index1.php [L] </IfModule> # END WordPress 

    2 answers 2

    Configure .htaccess

     RewriteEngine On RewriteCond %{HTTP_HOST} ^www.site.ru$ [NC] RewriteRule ^(.*)$ http://site.ru/$1 [R=301,L] 

    Where www.site.ru is your website address

    The result will be

     # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index1\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index1.php [L] RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L] </IfModule> # END WordPress 
    • Or, if there are problems with Cyrillic domains, use a universal approach. RewriteCond% {HTTP_HOST} ^ ([^ www]. *) $ RewriteRule ^ (. *) $ % 1 / $ 1 [L, R = 301] - Orthem
    • Just add these three lines after # END WordPress, replacing www.site.ru with the site address? - Morshinin
    • Delete the top slice before # BEGIN WordPress, then add RewriteCond% {HTTP_HOST} ^ ([^ www]. *) $ RewriteRule ^ (. *) $ % 1 / $ 1 [L, R = 301] add to </ IfModule> - Ortem
    • Forwarded again, try. - Ortem
    • Delete the entire contents of the file and drop this code there. - Ortem
    1. Throw out the first block from htaccess. (and then all).
    2. Register the same domain in both fields in the settings.
      2.1. Nedodomeny write in punicode !!!
    3. To give the VP itself to exaggerate the rules in htaccess and not touch anything else in it (in the VP block all manual changes will be lost)

    Nothing more is needed.
    Profit