| Author |
Topic  |
|
sdstren
Starting Member
USA
46 Posts Pre-sales questions only (More Details...)
|
Posted - 04/17/2012 : 09:13
|
I am in the middle of updating several of my static pages so I need to close access to my store until I am finished. I did a redirect from index.php to a file I created called indexout.php. But, apparently that isnt enough. Ppl must have bookmarks on their computers to specific product pages because I've received two orders for products that I am in the middle of creating new pages for.
Can anyone tell me a different/better way to disable my store until I am ready to be open for business again?
Thanks. |
Edited by - sdstren on 04/17/2012 09:15 |
|
Andy
Administrator
69494 Posts |
|
ejadmin
Advanced Member
USA
236 Posts |
Posted - 04/17/2012 : 14:51
|
I use a .htaccess redirect so everyone (aside from my ip) address is redirected to a page with a maintenance message.
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_URI} !/maintenance.php$
RewriteCond %{REMOTE_ADDR} !=68.226.85.236
RewriteRule $ /maintenance.php [R=302,L]
Obviously you change maintenance.php$ to whatever your created page w/maintenance msg is, and my ip address w/your IP address.
If there are multiple computers/IPs that need access to the site while it's been renovated, just duplicate "RewriteCond %{REMOTE_ADDR} !=" beneath the first with the next IP address that also needs to have site access.
|
Edited by - ejadmin on 04/17/2012 14:53 |
 |
|
Eversfternola
Starting Member
19 Posts Pre-sales questions only (More Details...)
|
Posted - 05/31/2012 : 15:21
|
Hi,
I am also trying to redirect to a maintenance page. I used the method described above, but when I do this, I get the following message when trying to view the website:
[img]https://img.skitch.com/20120531-egty8qrfk3qr4rhphtwujshbay.jpg[/img] |
 |
|
Andy
Administrator
69494 Posts |
|
| |
Topic  |
|