Create a temporary redirect for an account during upgrade
I'm preparing for a migration of Magento to 2.0 with a massive Web store. Since this will take a few hours to complete, I need to shut down access to the current store across the entire account, while still allowing myself access to the URL. We don't want customers to see a suspension screen or anything like that, so need to come up with a way to redirect all traffic to a construction page (which we can host on another account). Not finding any way to do this right now, though. Thoughts?
-
Hi @ChiMark I believe what you're really looking for might be to put the Magento site into maintenance mode. I found the following for you: Enable or disable maintenance mode | Magento 2 Developer Documentation 0 -
Another solution may be to modify the directory index priority to include for example index.html first (if your magento index files are .php) and then place an under construction index.html in the public html which will get viewed first instead of anything else on the site. You could also redirect any subdomains to the index.html file as well. DirectoryIndex Priority can be modified in WHM>>Service Configuration>>Apache Configuration>>DirectoryIndex Priority. Thanks! 0
Please sign in to leave a comment.
Comments
3 comments