Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how do i publish my site


rassa

Recommended Posts

well how do i publish my site,,i think it would be easier for me to do changes if i can see what i change..ive heard i have to put something in a root folder???And also,,do i need to keep the install directory,,or can i delete it?

Link to comment
Share on other sites

well how do i publish my site,,i think it would be easier for me to do changes if i can see what i change..ive heard i have to put something in a root folder???And also,,do i need to keep the install directory,,or can i delete it?

You'll have to either upload it to your web host, or if you have a local web server you can use that, and yes, you'll need to put it in your document root folder for your particular web directory... On most linux-based web servers, this is something like /home/<username>/www(or public_html)... On windows-based servers, it's usually under C:\inetpub\wwwroot...

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

well its installed and all that,,,its in my httpdocs folder now,,, httpsdocs/catalog/

Sounds like you're on a plesk system if there's an httpsdocs directory... Make sure it's in both your httpdocs and httpsdocs folders, if one isn't just linked to the other... The thing I don't like about these setups is that they're not always linked, you have 2 separate copies of all of the files, and any work you do on one set has to be copied over to the other set... But if you've got it in both your httpdocs and httpsdocs directories, then you should just be able to go to your webpage at whatever domain name you have registered, or by IP address if it's a unique IP address... just make sure you go to say, www.yourdomain.com/catalog, and not www.yourdomain.com, since you have it in the catalog directory under your document root...

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

ok,,so i can just copy over the entire osCommerce folder to httpdocs also...yes youre right,,im sitting on plesk,,,well i want it to show when going to www.mydomain.com instead of www.mydomain.com/blablabla

Link to comment
Share on other sites

ok,,so i can just copy over the entire osCommerce folder to httpdocs also...yes youre right,,im sitting on plesk,,,well i want it to show when going to www.mydomain.com instead of www.mydomain.com/blablabla

If you want it to show under your root directory rather than under catalogs, you'll copy the entire directory/file tree under catalog into the document root and get rid of the catalog directory entry, then you'll need to change your configure.php file in the catalog and admin side to reflect the new catalog directory path of / instead of /catalog/...

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

gah :'( this wasnt easy,,exactly what do i need to change in the config files,,do i just ftp them down make the change and then ftp them up again?

Yes, just ftp them down and send em back up after the changes... The only thing you should need to change is the catalog directory from "/catalog/" to "/" and the DIR_FS_CATALOG to the full path minus the "catalog/" on the end, and on the admin side you'll change the same thing... Also, if your cookie paths reference the catalog directory, you'll need to change those to a "/" too...

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...