Will this link do the trick?
Hey there. Whether this link will do the trick or not all depends:
Is it telling me that all I have to do is the following:
1. Open .htaccess in my root directory.
2. Drop in this:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule ^(.*) http://%1/$1 [R=301,L]
3. Save and re-upload .htaccess.
Poof? Done? Where do I put that code in .htaccess? Anywhere?
Thanks!
Yup, that should do it. It has apache redirect all browsers from http://www.anything.whatever to anything.whatever.
The author of that article (and I) both suggest putting that at the beginning of your .htaccess file.
Bah…
The forum made one of those examples a link, but I think you get the idea.
Awesome. Before [# BEGIN WordPress] ?
Or after?
Oh. Wait. This is already in my .htaccess:
# 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
What’s going on there?
Before, but only to keep it separated from the WordPress rules. (It technically shouldn’t matter)
That’s WordPress’s normal rules to enable pretty permalinks.
Got it. It worked! Thanks for your help.