Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

MySite.com/osc


skumar1st

Recommended Posts

I'm newbie and need assistant:

 

(1) Start my store, but set mysite.com/osc for start selling product. How can I migrate all to main site i.e mysite.com (instead of mysite.com/osc)

 

(2) I'm using comm100 chat for my site, how can write code on home pages or put any link.

 

Please help us.

Link to comment
Share on other sites

These guides will help you

 

http://www.oscommerce.com/forums/topic/162231-quick-install-guide/

 

http://www.oscommerce.com/forums/topic/274968-how-do-i-all-the-basic-install-questions-regularly-asked/

 

any specific question you have you are welcome to post here but the ones above are too vauge to be able to answer in full

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Thanks Nic for quick response and they are useful. I had installed through auto install through our hosting and already uploaded on "mywebsite.com/osc" in that case how can migrate all data on main site "mywebsite.com"

 

Pls help us.

Link to comment
Share on other sites

You will need to move the whole store out of the osc folder and into the root, then once you have this done amemd the TWO configure.php files

1 in includes / configure.php

1 in admin / includes / configure

remove the referencies to the osc

 define('DIR_WS_HTTP_CATALOG', '/osc/');
 define('DIR_WS_HTTPS_CATALOG', '/osc/');

to

 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');

there are more in these files you will need to change.

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

STOP. Is the reason you want to move this store is that it was installed into /osc, and you'd rather that customers don't have to type that in? That would be a mistake, because in the future you may want to add more applications (a forum, a blog, a gallery, a second store,...). Then you will have to move your store back to where it is now. That will lose you all your customer's bookmarks, and more importantly, all search engine juice you've built up over time.

 

As long as you're on an Apache server (all Linux servers, some Windows servers) you can "rewrite" your visitor's URLs so that it goes to your store, without having to explicitly give "/osc" in the URL. In /.htaccess, add

RewriteEngine On
RewriteCond  %{REQUEST_URI} !^/osc  [NC]
RewriteRule  ^(.*)$  /osc/$1  [L]

If you have no idea what you're doing, ask your host. They'll understand what I wrote and can tell you how best to do it.

 

Leave the store address in the configure.php files alone -- all you're interested in is automatically sending visitors to http://mySite.com over to http://mySite.com/osc without any further action on their part. It doesn't matter that they then see "osc" in the URLs and bookmarks.

Link to comment
Share on other sites

Great Phil for this information. Just tell us, If I'm starting phase and not published for live, in that case can I move as per previous suggestion? Can I install any add-ons on http://mySite.com ?

 

I've one more problem, There are no link "Continue Shopping" along with "Checkout". Pls suggest how to active Continue Shopping link?

Link to comment
Share on other sites

Well yes, if you're just starting up you can certainly move your store up one level. Given that you presumably installed in the first place with a "one button" installer, I would have reservations about your trying to tackle the code changes needed, but if you want to, go ahead. Just keep in mind what I said before, that if you ever want to add more stuff to your site, you'll have a mess on your hands moving the store back to /osc or /store, and you'll lose whatever search engine juice you've built up over time. It can be done, but there's no need for it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...