Guest Posted August 25, 2010 Share Posted August 25, 2010 Currently my website only works if the 'www' prefix is used (www.mystore.com.au). i want the homepage to work if the 'www' prefix is not there (mystore.com.au). This is for the benefit of any links that are created that omit the 'www' prefix. without the 'www' prefix, an 'cannot display webpage' error page show up. Any help is always appreciated. Richard Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted August 25, 2010 Share Posted August 25, 2010 Currently my website only works if the 'www' prefix is used (www.mystore.com.au). i want the homepage to work if the 'www' prefix is not there (mystore.com.au). This is for the benefit of any links that are created that omit the 'www' prefix. without the 'www' prefix, an 'cannot display webpage' error page show up. Any help is always appreciated. Richard Well, we cannot be of much help unless you reveal the domain name, truthfully. Simply because it could be a couple of different things, and troubleshooting it without knowing the domain name is next to impossible. Edit: It is probably nothing to do with osCommerce Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
Guest Posted August 25, 2010 Share Posted August 25, 2010 www.fitness-shop.com.au Link to comment Share on other sites More sharing options...
Guest Posted August 25, 2010 Share Posted August 25, 2010 Richard, Can you post the first 6 lines of your configure.php file ? This might be a configuration problem, however I am leaning more towards a domain name DNS error. Chris Link to comment Share on other sites More sharing options...
Guest Posted August 25, 2010 Share Posted August 25, 2010 <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.fitness-shop.com.au'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.fitness-shop.com.au'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.fitness-shop.com.au'); define('HTTPS_COOKIE_DOMAIN', 'www.fitness-shop.com.au'); Cheers, Richard Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.