Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to have domain only at the address bar


hemmi

Recommended Posts

Can you give me a pointer, please. How do I set it up so that the domain comes only at the address bar. www.domain.com but not www.domain.com/catalog/default.php

 

I had to put a metatag for the url.

Link to comment
Share on other sites

To get rid of the catalog, I think that you need to change to this define (should be set to '/catalog/' now):

  define('DIR_WS_CATALOG', '/');

That will install in the root directory of your web domain. To get rid of the default.php, you need to change the configuration of the web server so that it looks for default.php. You would do this either in httpd.conf (better) or .htaccess (if it is enabled on your server) as explained at the bottom of this page. If you are paying someone to host your server, they might have to make this change for you.

 

Good luck,

Matt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...