Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Setting home page


CustomSoftwareUK

Recommended Posts

Hi

 

I have now managed to upload all the files succesfully and been able to try out the settings etc. My only problem now is (and sorry for this) how do I set up or redirect the home page to my existing website name if my domain was http://www.mydomain.com

 

I have uploaded the oscommerce folders using Vger guidance:

 

3. ....If you want the site to be available at http://www.yourdomain.com then just upload all of the contents of the catalog folder, but not the folder itself. (I have done this option)

 

Thank you and sorry of this is an easy answer but I am completely new to all this

 

Lee

Link to comment
Share on other sites

If you mean you installed into a catalog directory on your local machine but uploaded all the contents of the catalog directory to your root, you need to edit the 2 configure.php files in includes and admin/includes.

 

Change their permissions to 777, download them and open them up in a text editor.

 

You will have to delete all references to catalog, e.g. where it says /catalog/ you want to change that to just /

 

You will have to re-define the paths to:

 

HTTP_SERVER

HTTPS_SERVER? If you now have SSL

ENABLE_SSL? To 'true' if you now have SSL

HTTP_COOKIE_DOMAIN

HTTPS_COOKIE_DOMAIN? If you now have SSL

DIR_FS_CATALOG

DB_SERVER? Possibly

 

HTTP_CATALOG_SERVER

HTTPS_CATALOG_SERVER? If you now have SSL

ENABLE_SSL_CATALOG? To 'true' if you now have SSL

DIR_FS_DOCUMENT_ROOT

DIR_FS_ADMIN

DIR_FS_CATALOG

DB_SERVER? Again possibly

 

I think that is all!

 

When you have done that, you need to upload the 2 files, back to their correct respective directories.

Then change their permissions back to 644, 444 or 400 - whatever works on your server.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...