Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
Shopping Cart Software Forum for Ecommerce Templates
Home | Profile | Register | Active Topics | Members | Search | FAQ
Click Here To Login
Forgot your Password?



Find us on Facebook

Follow us on Twitter

View our YouTube channel

Ecommerce Templates on Google Plus


 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Temporarily close store
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sdstren
Starting Member

USA
46 Posts

Pre-sales questions only
(More Details...)

Posted - 04/17/2012 :  09:13  Show Profile
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

Posted - 04/17/2012 :  09:29  Show Profile
Hi

This method from Phil is a good one http://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=82590

Andy

Ecommerce templates

ECT newsletter
ECT hosting suggestions

Dreamweaver templates

Follow us on Twitter, Facebook, Google + and YouTube



Go to Top of Page

ejadmin
Advanced Member

USA
236 Posts

Posted - 04/17/2012 :  14:51  Show Profile
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
Go to Top of Page

Eversfternola
Starting Member

19 Posts

Pre-sales questions only
(More Details...)

Posted - 05/31/2012 :  15:21  Show Profile
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]
Go to Top of Page

Andy
Administrator

69494 Posts

Posted - 06/01/2012 :  03:19  Show Profile
I would go with Phil's suggestion above as it requires no coding.

Andy

Ecommerce templates

ECT newsletter
ECT hosting suggestions

Dreamweaver templates

Follow us on Twitter, Facebook, Google + and YouTube



Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2013 ecommercetemplates.com Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000