Lynne in NY Posted September 13, 2019 Share Posted September 13, 2019 Yike! I had created a .htm file indicating the site was under construction and put it directly under public_html. I never noticed that after installing CC, the "under construction" .htm no longer executes! All my testing has been LIVE! I need to know how and where to allow that .htm to have priority, and where to change the referrers in the code that go to "website.com" to go instead to "website.com/index.php" Or is there another way to have the web site under maintenance to the visitors? Link to comment Share on other sites More sharing options...
bsmither Posted September 13, 2019 Share Posted September 13, 2019 Please rename the "under construction" .htm file to be offline.html. Then in CC's admin, Store Settings, Offline tab, set Take Store Offline to "Yes". There is no real need to have any content in the editor as the presence of offline.html will take precedence. This does not affect logged-in admins, but there will be a dismissable notice on the storefront informing the admin the store is set to be offline. Link to comment Share on other sites More sharing options...
Lynne in NY Posted September 14, 2019 Author Share Posted September 14, 2019 Thank you!!! Link to comment Share on other sites More sharing options...
Lynne in NY Posted September 14, 2019 Author Share Posted September 14, 2019 Um... Ok, I did that, and saw the red notification. Then I finished working on it and logged off. So now how do I get back into the admin???? When I go to website.com/ADMIN it tells me the store is offline. Link to comment Share on other sites More sharing options...
bsmither Posted September 14, 2019 Share Posted September 14, 2019 The URL to your CubeCart's admin will be something similar to: www.mystore.com/admin_aBcDeF.php Link to comment Share on other sites More sharing options...
Lynne in NY Posted September 14, 2019 Author Share Posted September 14, 2019 Something similar..?? Where would I find it? I think I found it... in the servers File Manager, the name of the directory. Link to comment Share on other sites More sharing options...
bsmither Posted September 14, 2019 Share Posted September 14, 2019 When CubeCart had finished installing itself, there would have been a link next to a notice that said: Remember this link! So, using FTP (or your hosting account's control panel File Manager), look at the files in CubeCart's main folder. Find the file that starts with admin and ends with .php. Link to comment Share on other sites More sharing options...
Lynne in NY Posted September 14, 2019 Author Share Posted September 14, 2019 Nope. That wasn't it. I did find on in my browser history and it got me to the log in. Link to comment Share on other sites More sharing options...
bsmither Posted September 14, 2019 Share Posted September 14, 2019 Even though the name of the directory also has _AbCdEf (this sequence denotes random letters) as part of the name, look for the file that begins with admin and ends with .php. Link to comment Share on other sites More sharing options...
Lynne in NY Posted September 14, 2019 Author Share Posted September 14, 2019 Oh, I found it in my browser's cache. But now I see the file in that directory, too. Good to know! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.