qkrgudwlssla
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Redirecting# BEGIN WordPress
<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 https://www.redirect-to-here.com/index.php [R=301,L]
</IfModule># END WordPress
– Those are my IPS, that needs to stay in the https://www.mywebsite.com,
and other than those 2 ip, others should be redirecting automatcailly to https://www.redirect-to-here.comForum: Fixing WordPress
In reply to: RedirectingI am sorry and thank you.
I am not so good with computer , but currently
i need to redirect everyone coming to https://www.mywebsite.com
to https://www.redirect-to-here.com (automatically redirect)
because mysite needs a lot of editing..
https://www.redirect-to-here.com will be temporary site for maybe few months.
But i don’t want to lose any visitors.. do you think you can help me write a code? I heard something in .htaccess where you can do these !
Forum: Fixing WordPress
In reply to: htaccess – redirect all visitors except for certain IP addressi changed to that and now its taking me to error 500 page
from my ip and others ip.. anyone help ?Forum: Fixing WordPress
In reply to: htaccess – redirect all visitors except for certain IP address# 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 https://www.redirect-to-here.com/index.php [R=301,L]
</IfModule># END WordPress
like that??
Forum: Fixing WordPress
In reply to: htaccess – redirect all visitors except for certain IP address# BEGIN WordPress
<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 https://www.redirect-to-here.com/index.php [R=301,L]
</IfModule># END WordPress
This is what I have in utf-8 .htaccess.. but
Those are my IP address and only I should be able to view my construction site and rest of the people should be going to https://www.redirect-to-here.comright? but i just checked and everyone is still coming into my contruction site.
what might the problem be ? could anyone type out the full code I can copy
paste thanks so much T_T