Putting redirect on Wordpress blog

Discussion in 'PHP' started by coolsleek, Jul 14, 2008.

  1. #1
    I have a wordpress blog that is http://myblog.com . I want it to be http://www.myblog.com (this are examples)

    I have read I have to use the .htacess file. On the file I have

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

    # END WordPress


    How can I implement the redirect. Thank you
     
    coolsleek, Jul 14, 2008 IP
  2. kentuckyslone

    kentuckyslone Notable Member

    Messages:
    4,371
    Likes Received:
    367
    Best Answers:
    0
    Trophy Points:
    205
    #2
    Yoy dont need to change htaccess - you need to login to admin and go to settings and add the "www" to your url there

    I am talking about where it says "WordPress address (URL)" and "Blog address (URL)"
     
    kentuckyslone, Jul 14, 2008 IP
  3. coolsleek

    coolsleek Active Member

    Messages:
    424
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3

    Thanks, it was that easy.
     
    coolsleek, Jul 14, 2008 IP