Pedro R. Posted March 12, 2012 Share Posted March 12, 2012 Hi I am developing my website and so I just installed my www.mysite.com on the directory root. The final website will be here. But while I am developing it I created and index.html file, a simple file only with my company logo. So I need public in general when they type www.mysite.com they will see the index.html . But I need to access the index.php page to develop the site... But I cant! Even if I type www.mysite.com/index.php it will always redirects to www.mysite.com and shows the index.html. Although I can access www.mysite.com/sitemap.php for example... Have any ideas to work it out and let me access the index.php ? My idea is in the end of my developing I will delete the index.html and so general public will see just index.php. Thank you! Link to comment Share on other sites More sharing options...
El Patron Posted March 12, 2012 Share Posted March 12, 2012 why not just set your site offline while you develop your site. put your ip address in the allowed back office-->preferences-->set enable shop to No enter your Maintenance IP addresses then only those IP addresses are allowed to see your site.. 1 Link to comment Share on other sites More sharing options...
Pedro R. Posted March 12, 2012 Author Share Posted March 12, 2012 But I need to have a front page with company logo, email and phone while I am developing. How can I do this? Is it possible to have this? Link to comment Share on other sites More sharing options...
El Patron Posted March 12, 2012 Share Posted March 12, 2012 But I need to have a front page with company logo, email and phone while I am developing. How can I do this? Is it possible to have this? edit your offline message via Go to Tools>Translations>Front Office and update 'maintenance' basically....you dont' want anyone to see your site while you are developing...that's why I suggested to take your site offline...just as importantly even search engines (i.e. googoe) to keep google from indexing your site prematurely insert this into robot.txt User-agent: * Disallow: / when you are done with your site build use the back office-->tools-->generators re-create your robot.txt (after you have built product and seo data) then go to google webmastrer tools, and upload your sitemap.xml right now, just concentrate on building your store...then open 1 Link to comment Share on other sites More sharing options...
Pedro R. Posted March 13, 2012 Author Share Posted March 13, 2012 Other way: Is possible to edit the maintenance.tpl page? (I tried the maintenance.tpl inside Themes/Prestashop folder but it didnt work...) Other way? Can I install Presta in for example like 'public_html/Test' and then when the site is done move all files to the public_html (root)? Link to comment Share on other sites More sharing options...
El Patron Posted March 13, 2012 Share Posted March 13, 2012 Other way: Is possible to edit the maintenance.tpl page? (I tried the maintenance.tpl inside Themes/Prestashop folder but it didnt work...) Other way? Can I install Presta in for example like 'public_html/Test' and then when the site is done move all files to the public_html (root)? what do you mean it doesn't work? if you didn't see your changes after you uploaded it's because you need to do the following: back office-->preferences-->performance set force compile to yes...otherwise you won't see your .tpl change until it cycles through the smarty cache, which could be days . as for 'other way', I always try to leverage built in prestashop whenever possible... 1 Link to comment Share on other sites More sharing options...
Pedro R. Posted March 13, 2012 Author Share Posted March 13, 2012 Before that elpatron. I am trying the solution you said about change the maintenance page on translations. But I added a new languange (I importerted manually Portuguese language) and I set it as default... altought when I open my www.mysite.com it stills with English as default!! Any idea about this? Link to comment Share on other sites More sharing options...
El Patron Posted March 13, 2012 Share Posted March 13, 2012 so in back office-->tools-->languages (scroll down), site default language is set to portugese, yes? assumption is that you are running a 1.4 shop, and that you have already generated an .htaccess file, if so then you must re-generate your .htacess via back office-->tools-->generators....PrestaShop does not re-build the rewrite rules for your language when you add a new language (pretty sure). also, when something doesn't seem to take affect, clear your browser cache...AND...cookies... I will need likes on any of my posts that you follow or at least like...feed me 1 Link to comment Share on other sites More sharing options...
Pedro R. Posted March 13, 2012 Author Share Posted March 13, 2012 Ok, the problem was the cookies. The default language appears set ok in the site now. So I am trying to modify the maintenance.tpl to see of it works now with the performance tip you gave me. Thanks for now. I'll post the solution here if it works! Link to comment Share on other sites More sharing options...
Pedro R. Posted March 13, 2012 Author Share Posted March 13, 2012 Problem: To have a simple presentation page with your logo and contacts (a customized jpg for example) while you are developing your site in background. Solution: -Go to BackOffice (BO)>Preferences and put Enable Shop = NO. And add your IP, so you can see the site all time; -Go to BO>Preferences>Performance and put Force Compile=YES; -Go the File Manager, and in the Themes folder, edit Maintenance.tpl file as you want (with the jpg I created in my case) This way the general public only will the Maintenance.tpl page you configured and you can access your site normally while developing it. Hope it helps someone! Thank you again elpatron! 1 Link to comment Share on other sites More sharing options...
El Patron Posted March 13, 2012 Share Posted March 13, 2012 You are most welcome, happy prestashopping...and don't forget to set your thread subject to [solved] Link to comment Share on other sites More sharing options...
cyberespia Posted September 4, 2013 Share Posted September 4, 2013 Es possible to have index.html and after index.php, I need an index.html (for intro) please! Where should I edit for first worked index.html Link to comment Share on other sites More sharing options...
Recommended Posts