yunping
Forum Replies Created
-
We have installed and activated WP Maintenance Mode on staging and development. If the Maintenance mode is enabled, we will definitely not have this issue.
I beg the difference. I really believe that the plugin treats these 3 environments as linked sites with a hierarchy of production > Staging > development, therefore redirecting the order from production to staging, and when staging is password protected, it will redirect the production order to development.
Enabling the maintenance mode on all three of them is just a workaround, but does not solve the root cause.
Appreciate your insight in investigating the redirect logic.
Hi Lucia,
A quick clarification: when I enabled the maintenance mode in my production, my staging and development environments were not maintenance mode enabled, and I turned off the password protection at that moment in order to test some integrations, therefor orders coming from the Instagram shop page went to the staging once, and development 2 times.
Appreciate your kind follow-up 🙂
Thank Lucia for your kind follow-up. As I said in my previous reply to Vytis, once you create a website in WordPress Engine, WP Engine will automatically create staging and development sites accordingly, for example, test.wpengine.com, teststg.wpengine.com, testdev.wpengine.com, and the sequence is production > staging > development.
We did install the WP Maintenance mode in all the 3 environments. So when I turn on the maintenance mode on production, the order triggered from IG was redirected to stagging! Can you please check what is the redirect logic in your plug-in?
I think I know why you were confused. In WordPress Engine, once you create a website, WP Engine will automatically create staging and development sites accordingly, for example, test.wpengine.com, teststg.wpengine.com, testdev.wpengine.com, and the sequence is production > staging > development.
We are not adding any logic, just simply active your maintenance mode and save it! I don’t know how is your plugin working internally, I just simply guess it’s kind of redirecting all the traffic to the maintenance page. but I don’t know WHY my IG shop’s order can go to staging and development when production’s maintenance mode is on. why not you simulate at your end to check if there is some weird logic inside your programming??
By the way, there are no subdomains. just a simple website.And, after selecting the “Activated” button, I always click the “Save Settings” button that appears at the bottom of the page. After saving, the maintenance mode is activated and the production website is redirected to my maintenance page. the problem is that the IG shop which linked to my production website home page, was redirected to staging or development as long as they are not password protected (I turned off the password protection for some integration test, thus surprisedly I received several real orders in the wrong channel!) . that is really really strange. I’m suspecting the redirecting logic has a bug in this maintenance plug-in. Please help and fix it! Thank you!
I only have one site with 3 environment (production, staging and development). My IG is linked to production website. When I turn on the maintenance mode in production, and password protected in staging, the actual order from IG was redirected to development! by right it should be redirected to the maintenance page in production!