Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2014
    Location
    Norway
    Posts
    5
    Plugin Contributions
    0

    Idea or Suggestion Prevent/Restrict access to website until offical launch?

    Is there a way that I can password proctect or only allowing certain ip's to the whole site before the offical launch?

  2. #2
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Prevent/Restrict access to website until offical launch?

    I usually just add an index.html page (which overrides the index.php) to the root of the site until the site is ready. however if you already have had spiders on the site this will not stop it being indexed and discoverable in the search engines.
    Phil Rogers
    A problem shared is a problem solved.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,625
    Plugin Contributions
    88

    Default Re: Prevent/Restrict access to website until offical launch?

    Create, or modify, the .htaccess file in the store's root directory (where the index.php and ipn_main_handler.php reside), adding the following towards the top of the file:
    Code:
    Order Deny,Allow
    Deny from all
    Allow from 100.100.100.100
    Allow from 200.200.200.200
    Of course, you'll be specifying the IP addresses that you want to have access instead of the example values! Depending on your payment methods, you might have to add an IP address or range to allow the post-backs to be accepted.

 

 

Similar Threads

  1. Restrict Website Access
    By unHinged in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Oct 2011, 07:27 PM
  2. Replies: 4
    Last Post: 13 Feb 2010, 07:33 PM
  3. Can I prevent registered users from seeing prices until authorized?
    By oavs in forum Managing Customers and Orders
    Replies: 1
    Last Post: 9 Dec 2009, 01:36 PM
  4. Restrict access to my store
    By jafma in forum General Questions
    Replies: 1
    Last Post: 7 May 2008, 06:23 PM
  5. Restrict admin access
    By Moncia in forum Basic Configuration
    Replies: 3
    Last Post: 13 Mar 2008, 07:13 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR