Pice-Ryder Posted November 7, 2017 Share Posted November 7, 2017 Hope someone can help answer this currently we have cubecart setup as our main page on our website www.cam-equestrian.com. We are looking to move the store to say a page called www.cam-equestrian.com/store.html so that we can then re-design our first page of the website. Am I correct in thinking I can just change the file name from index.html to say store.html which would then leave index.html for our new homepage design? Hope this makes sense to some of you and I look forward to your help on this. Many thanks Steve www.cam-equestrian.com Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 7, 2017 Share Posted November 7, 2017 Welcome Pice-Ryder! Glad to see you made it to the forums. CubeCart, as many web-based applications, start with the page index.php. That leaves index.html free to do with what you want. However, there is no absolute requirement that a web address specify the actual document to load. A visitor can reach your site will just www.example.com. And, as it happens, the school of not-so-strict programming says that, because the web server will take care of it, there is no need to actually use the full and complete web address. Thus, there is a setting that all web servers are configured to determine what document to serve if none was specified. This "document priority list" will inform the web server to use index.php, and if not found to use index.html, and if not found to use default.html, and if not found to use ... etc. If you specify index.html as having a higher priority than index.php, and because CubeCart does not always use a full and complete web address, there will be occasion that CubeCart will have a link on its pages that will send the visitor to your landing page. That may work for you. On the other hand, CubeCart can operate equally well in a sub-folder: www.example.com/store/index.php There may be an edit required in Cubecart's .htaccess file. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.