How do I make the site maintenance mode?
- bonbec
- VIP Member
- Posts: 20
- Joined: Mon Oct 26, 2020 12:23 pm
- Has thanked: 5 times
- Been thanked: 6 times
Re: How do I make the site maintenance mode?
Take a look to this addon :
app.php/addons/free_addon/store_mode
app.php/addons/free_addon/store_mode
Old MS2.2 PHP7.4 site being converted to CE Phoenix v1.0.9.0 PHP 8.2
-
- VIP Member
- Posts: 1996
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 26 times
- Been thanked: 175 times
Re: How do I make the site maintenance mode?
Or look in the User Guide
https://phoenixcart.org/phoenixcartwiki ... m_Visitors
https://phoenixcart.org/phoenixcartwiki ... m_Visitors
Re: How do I make the site maintenance mode?
Yes... I have tried all the methods and found that the easiest and best way to use is to use the .htaccess file. Indeed, the results were excellent.
This is the code for those who want to benefit.
thank you
This code redirects the user to an alternative page. Allowing a specific IP owner to enter and work on the home page.
This is the code for those who want to benefit.
thank you
Code: Select all
RewriteEngine On
RewriteBase /
RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1
RewriteCond %{REQUEST_URI} !/xx\.html$
RewriteRule .* http://www.xxxxx.com/xx.html [R=302,L]
-
- VIP Member
- Posts: 549
- Joined: Fri Oct 25, 2019 7:01 pm
- Has thanked: 8 times
- Been thanked: 49 times
Re: How do I make the site maintenance mode?
Thats what the store mode addon does, but in a way that only needs the admin back end and no editing of any files. At least you got it sorted in a way that you are happy with.abofayez wrote: ↑Fri Jun 11, 2021 10:09 am Yes... I have tried all the methods and found that the easiest and best way to use is to use the .htaccess file. Indeed, the results were excellent.
This is the code for those who want to benefit.
thank you
This code redirects the user to an alternative page. Allowing a specific IP owner to enter and work on the home page.Code: Select all
RewriteEngine On RewriteBase / RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1 RewriteCond %{REQUEST_URI} !/xx\.html$ RewriteRule .* http://www.xxxxx.com/xx.html [R=302,L]