I want remove redirect of my WordPress site from “example.com” to “www.example.com” .
It is my “.htaccess” file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I already know removing redirect to “www” can cause duplicate content. But it is not important for me.I want my domain shown with and without “www” without any redirect.