Books - Debt Help - Free Advertising - Gas Suppliers - Loans

PDA

View Full Version : Force nonwww to www


Bohol
Feb 7th 2008, 7:48 am
Hello Friends,

I have a Wordpress blog. My concern is that I want all browser address to be www. If I type www.mysite.com, my browser changes to http://mysite.com

What shall I do? Here's the .htaccess of Wordpress.

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

# END WordPress

NeverTheSame
Feb 9th 2008, 4:05 am
Change URL in WordPress options.

Bohol
Feb 9th 2008, 8:00 am
Where can I find the Wordpress options?

Cybernaut
Feb 9th 2008, 4:22 pm
Login to wordpress as admin. Then goto Options tab. Check if "WordPress address" has www. in it. If not, then put www. Otherwise check you DNS host records, they might be redirecting www to non-www site.

Bohol
Feb 10th 2008, 5:57 am
Thank you, Cybernaut. I will check on this now. Thank you.

devilkitty
Feb 12th 2008, 3:12 am
If your still having problems. Try this plugin

http://txfx.net/code/wordpress/enforce-www-preference/

Worked well for me.

Kind regards
DK