Brianjernigan Posted July 21, 2013 Share Posted July 21, 2013 I have bought hosting and a template and do not wish to switch hosting is possible. I have two problems: First running a speed test I'm getting a 4-7 sec wait time on my 1st bite on the main URL. I have been reading Godaddy is horrible with prestashop so I emailed them and they say its something with my site naturally. I do not wish to switch now if I can come up with a alternate fix. Which is my second problem. I would like to create a landing page where the customer will come to a basic HTML page with my logo and a loading pic and have that viewable while the rest of the site loads for that 4-7 secs. Right now it just shows a blank white page and could make customers think the site is not live or broken. Can this be done without moving the shop to a subdirectory? Website is: www.ri5en.com Link to comment Share on other sites More sharing options...
El Patron Posted July 21, 2013 Share Posted July 21, 2013 while not answering your question about landing page I did have a couple questions Did you review your back office-->advanced parameters-->performance to make sure that you don't have things like force compile 'on', cache 'off', caching 'off' (you might try file system). after initial front page load, it is very responsive, i.e. landing page primarily because of gzip and expires... the reason I don't first answer your question is because having a non-store landing page requiring customers to click through, can turn off customers. Link to comment Share on other sites More sharing options...
Brianjernigan Posted July 21, 2013 Author Share Posted July 21, 2013 I have turned off the compile and turn on all the js CSS minify options and using APC for cache. I have also created subdomins for the CSS and js folder suggested in another forum. From what I'm reading its a comparability problem with Godaddy and cannot be fixed. Unless someone on here knows better. The landing page would have a redirect meta tag so it would automatically redirect to the shop so they would not have to click to enter shop. It would just be a page that loads first before the SQL requests (that's what I'm thinking is taking so long) so then the customer would see that the page is there and just loading instead of seeing a blank white page. Link to comment Share on other sites More sharing options...
El Patron Posted July 21, 2013 Share Posted July 21, 2013 in answer to your initial question: try this Update your .htaccess file in your shop root. Add this line... DirectoryIndex index.html[/indent][/indent] see here for tips on 1.5 and .htaccess customization http://www.prestasho...ustom-htaccess/ Link to comment Share on other sites More sharing options...
Brianjernigan Posted July 21, 2013 Author Share Posted July 21, 2013 I have created a separate index.html and left the index.php alone. When I add DirectoryIndex index.html[/indent][/indent] to .htaccess under or above the comment I get a Godaddy 404 error, either way it is not showing the html first. I can manually go to ri5en.com/index.html and it will redirect like a want it to. (with out any change to .htaccess) Sorry I'm not that familiar with this type of coding. Link to comment Share on other sites More sharing options...
El Patron Posted July 21, 2013 Share Posted July 21, 2013 honestly, this is not a ps question. you are better served by searching outside of the ps forum as there are a number of ways to accomplish this... see what you can come up with and try from outside apache forums...let us know what you find out... suerte Link to comment Share on other sites More sharing options...
Brianjernigan Posted July 21, 2013 Author Share Posted July 21, 2013 (edited) Reading on other forums I have found to add just: DirectoryIndex index.html index.php and I have added this to my html to redirect back to index.php: <META http-equiv="refresh" content="0;URL=http://ri5en.com/index.php"> When I do this its just acting like a loop and just reloads the .html over and over. Other forums are saying its something in the PS coding of the .php Edited July 21, 2013 by Brianjernigan (see edit history) Link to comment Share on other sites More sharing options...
piribipipi Posted September 24, 2014 Share Posted September 24, 2014 Hello! Did you solve this problem????? Thanks!! Link to comment Share on other sites More sharing options...
Recommended Posts