Support » Fixing WordPress » 301 redirect

  • Hello all,

    I’m trying to redirect my non-www (remonhendriksen.nl) to the www (www.remonhendriksen.nl) URL. But it’s still not working. Someone who can help me?

    I added the following rules in to my .HTacces file:

    RewriteCond %{HTTP_HOST} ^remonhendriksen\.nl [NC]
    RewriteRule ^(.*)$ http://www.remonhendriksen.nl/$1 [L,R=301]

    The whole section is now:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{HTTP_HOST} ^remonhendriksen\.nl [NC]
    RewriteRule ^(.*)$ http://www.remonhendriksen.nl/$1 [L,R=301]
    </IfModule>
    # END WordPress

    It still not workes, and it drives me crazy!:p

    Someone who can help?

    Thnx, anyway.

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘301 redirect’ is closed to new replies.