Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can I make my shop inaccessible?


pollywog_uk

Recommended Posts

Posted

I want to "close" my shop while I change a few things, is there any easy way that I can do this? I can't see anything in the admin panel that will allow me to make it inaccessible.

Posted
I want to "close" my shop while I change a few things, is there any easy way that I can do this? I can't see anything in the admin panel that will allow me to make it inaccessible.

 

Do a search for ".htaccess 302 redirect" if you use 'nix based hosting. you can use commands in .htaccess file to redirect traffic to a single URL elsewhere, traffic to any URL in a folder to a different URL etc. Once you have the command in htaccess you can setup a folder with only an index.html file in with your "down for maintenance" message and then just kick in the htaccess command

 

302 redirect tells search engines this is only temporary

301 redirect tells search engines this as the new permanent location for the old URL.

 

I'm just learning about this myself. but it's worth the time it takes to figure it out.

 

HTH

Travis

Posted
I want to "close" my shop while I change a few things, is there any easy way that I can do this? I can't see anything in the admin panel that will allow me to make it inaccessible.

 

 

my stupid answer, first rename index.php in your server, then upload a prepared index.html file says site down for maintain.

Once ready, swap these files to original. But question is how to preview what you had revised.

Posted
my stupid answer, first rename index.php in your server, then upload a prepared index.html file says site down for maintain.

Once ready, swap these files to original. But question is how to preview what you had revised.

I see. So someone types in http://mysite321.com/specials.php and he gets in. Why don't you want to use one of the methods mentioned ealrier to properly handle it?

Posted
how many people know that.

yes only those who use search engines.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...