Support » Fixing WordPress » Redirect to www

  • HI all

    Having problems with a 301 redirect. I have edit my .htaccess file several ways, all without success. This is what is in my file now

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

    # END WordPress

    <Files 403.shtml>
    order allow,deny
    allow from all

    deny from
    deny from
    deny from

    This is what I have been adding to the above file

    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^ [nc]
    rewriterule ^(.*)$$1 [r=301,nc]

    I have add the above with domain changed to mine of course at top and bottom. Nothing has worked…Thanks in advance

  • The topic ‘Redirect to www’ is closed to new replies.