• qkrgudwlssla

    (@qkrgudwlssla)


    # BEGIN WordPress
    “DirectoryIndex index.html index.php”
    <IfModule mod_rewrite.c>
    RewriteEngine on
    # Redirect all except your IPs
    RewriteCond %{REMOTE_ADDR} !^108.180\.203\.130$
    RewriteCond %{REMOTE_ADDR} !^104.325\.645\.511$
    RewriteRule /index.php http://www.redirect-to-here.com/index.php [R=301,L]
    </IfModule>

    # END WordPress

    This is what i got in my .htacess
    and those are my ips.

    when they click on my http://www.mywebsite.com
    I want everyone to automatcially redirect to

    http://www.redirect-to.here.com

    except for my ips up there..

    This is not working right now.. can anyone help me to write one ?
    with utf-8

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Redirecting’ is closed to new replies.