Attualmente il file htaccess inizia cosi
BEGIN WordPress<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ -
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</IfModule>
Quindi senza inserire nuovamente il reweiteengine on lo aggiungo insieme agli altri codici tipo cosi:
BEGIN WordPress<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ -
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
RewriteCond %{HTTP_HOST} ^tuosito.com
rewriterule (.*) http: //www .tuosito. com/$1 [R=301,L]
</IfModule>