snowy orange
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: URL Redirect / .htaccess / subdomain / maintenance page madnessGot it!
You rock!! Thanks again for the help…greatly appreciated.
Forum: Fixing WordPress
In reply to: URL Redirect / .htaccess / subdomain / maintenance page madnessOk, just got home and tried this out.
I set up my laptop to have a static IP… and then as you suggested, replaced the REMOTE_HOST IP with mine.
Let’s say my IP address was 192.168.1.1
This is what I used for code:
Options +FollowSymlinks RewriteEngine on #ip to allow access RewriteCond %{REMOTE_HOST} !^192\.168\.1\.1$ #send to root RewriteRule .? http://www.oldsite.com [R=302,L]However, when I navigate to (www.newsite.com) it’s redirected me to (www.oldsite.com). So it appears my IP has not been whitelisted.
Forum: Fixing WordPress
In reply to: URL Redirect / .htaccess / subdomain / maintenance page madnessThanks! I’m out of town right now, but I’ll give this a shot as soon as I’m home and set up a static IP.
I really appreciate the help… Ive been needing to work on the new site for awhile now, but havent really been able to due to this issue.
Forum: Fixing WordPress
In reply to: URL Redirect / .htaccess / subdomain / maintenance page madness1). Users would visit newsite.com because printed materials were prematurely published.
2). Ok this makes sense I think. So basically set it up where ALL IPs would be redirected OTHER than my IP.
I assume then I would need to give myself a static IP address?
Also – where would I configure the whitelist?
Thanks again!
Forum: Fixing WordPress
In reply to: URL Redirect / .htaccess / subdomain / maintenance page madnessEDIT:
So – the above will work to redirect the ‘new site’ to the ‘old site’.
BUT – using this method will not allow me to continue working on the wordpress site.
IE: If i go to http://www.newsite.com/wp-admin Im redirected to http://www.oldsite.com/wp-admin which does not exist.
I’m looking for a way to continue working on http://www.newsite.com in wordpress while redirecting users to http://www.oldsite.com until the new one is ready.