Forum Moderators: rogerd & travelin cat
Is there a way to do this in WP?
RewriteCond %{HTTP_HOST} !^(www\.example\.com)?$
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
# 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 [edited by: phranque at 2:44 am (utc) on Nov 6, 2014]
[edit reason] exemplified domain [/edit]
So in my case, should I use:RewriteCond %{HTTP_HOST} !^(s12345\.shared_server\.us)?$