Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

NEWBIE Question!


klk

Recommended Posts

Hi,

 

I install my Oscommerce thru the plesk control panel provide by my host, and after set up all the admin and database password...etc, i got the web address of www.xxxx.com/osCommerce/ . Then the problem was, i want everyone access my website(oscommerce) by type www.xxxx.com and not www.xxxx.com/osCommerce/ . how can i do that? :unsure:

 

i want to install all my oscommerce in www.xxxx.com directory and i don like redirect my website from www.xxxx.com/osCommerce/, example, i don want my someone click the link and the web address was www.xxxx.com/osCommerce/image/pics.gif...etc i want it look like www.xxxx.com/image/pics.gif.

 

*i can't install osCommerce direct into httpdocs folder, it have to be install in /httpsdocs/xxxx

 

Another question, what is CSS and mysql use in osCommerce? because i just learn a bit of php and only able to change the php files in osCommerce like heading, description, columm...etc And i read somewhere that if i want to create a oscommerce site, i have to know mysql and CSS.

 

Help please

 

Thanks

Link to comment
Share on other sites

Then the problem was, i want everyone access my website(oscommerce) by type www.xxxx.com and not www.xxxx.com/osCommerce/ . how can i do that?

You can create a frame in your www.xxxx.com/index.html which includes osCommerce, so that it automatically loads the osCommerce's index.php.

 

CSS - it specifies the appearance of html (color, font etc). Using CSS you can do global changes very quickly. Try to change some settings in catalog/stylesheet.css and you will see what it does.

MySQL is the database to store your information (pruducts, customers etc). You can control most of them using the admin panel so you don't really have to know it in detail. Howerver it is always good to know more so you can change things manually sometimes.. I am still learning too!! :)

Link to comment
Share on other sites

You can create a frame in your www.xxxx.com/index.html which includes osCommerce, so that it automatically loads the osCommerce's index.php.

 

 

How? :unsure:

Link to comment
Share on other sites

Create something like this in index.html and put it under www.xxxx.com:

<html>

<head>

</head>

<frameset>

<frame src="\dir_path\file_name">

</frameset>

</html>

It should automatically load the file specified . :D For more information do a net search on FRAME tag of HTML.

Link to comment
Share on other sites

the only problem with that is the URL's will be for the Frame, and not the store.. could be a problem

 

a better solution is to

 

1> move all the files in the "oscommerce" dirctory up to the httdocs dir.

 

2> set up a server side redirect

Link to comment
Share on other sites

1> move all the files in the "oscommerce" dirctory up to the httdocs dir.

 

Already done that, but the problem was all the page still go to the original place which is 'httpsdoc/osCommerce/....files' , example like oscommerce.gif, it still under 'www.xxx.com/osCommerce/image/osCommerce.gif' after move all the files to httpsdocs directory... :(

 

2> set up a server side redirect

 

I think this is what i should do and confusing... can you please help me up about it?? i really appreciate it...

 

Thank you so much

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...