Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Reducing site size!


BYGino

Recommended Posts

Hi folks,

 

I'm almost ready to go live with my first attempt at osCommerce. I have got to the stage now where my SSL cert is in place and I have a little question.

 

My webspace provider has set up a dedicated IP for my site and installed a cert but to use SSL I have to have two copies of the site on the server as follows

 

HTTP file are here: domains/MY DOMAIN NAME/public_html/FILES

HTTPS files are in: domains/MY DOMAIN NAME/private_html/FILES

 

It is necissary to have all files copied into both directories or can I discard a lot of them? I don't really want to secure the whole site and I have already removed the admin folder from the non secure directory but can I do anything else to thin out the install a bit?

 

This isn't a huge problem as I'll have a fair bit of space left when I remove the old html only site which is currently running in parallel with the new site - it's just me being tidy! :huh:

Link to comment
Share on other sites

I'll have a fair bit of space left when I remove the old html only site which is currently running in parallel with the new site -

 

Don't forget about permanent 301 redirects, do a search and you will find lots of info on setting them up. It will help you keep your PR rankings when you delete the old site. No idea on your original question though.

 

Peter

Link to comment
Share on other sites

Don't forget about permanent 301 redirects, do a search and you will find lots of info on setting them up.  It will help you keep your PR rankings when you delete the old site.  No idea on your original question though.

 

Peter

Thanks Peter, I'll have a look into that. I assume it is just a case of setting up a custom 301 page to redirect to the new site - I was thinking of doing something like this when it goes live but like you say I'll have a browse about the forum for this.

 

Anyone any info on the initial question?

Link to comment
Share on other sites

Anyone know if this can be done or not?

 

:-"

 

If you are actively adding/deleting stock and changing photos, maintaining 2 sites is a pain. It really gets to be a pain when you are dealing with a few 1000's of items. I had your exact situation until I dumped the hosting company in favor of one that did not require me to maintain 2 copies.

 

Basically, as I recall, I created a stripped-down index.php that was an acknowledgement that the secure action had been completed, with a link to click to return to the main cart. Then, only copied the files that had to be on the secure server.

GEOTEX from Houston, TX

 

(George)

Link to comment
Share on other sites

I have, or actually had, a similar problem (httpdocs and httpsdocs directories) which my host solved by, as I understood, doing a symbolic mapping from the https directory to the http directory. Everything resides in the httpdocs directory but the SSL part is going through the httpsdocs directory and this all works nicely without having to maintain two copies (which is a pain). You will have to ask your host to setup your space like this and if they can't or won't it might be better to find another one.

Link to comment
Share on other sites

Thanks for your thoughts guys, I've contacted the host and asked if there is anything he can do - I'll let you know what kind of response I get.

 

I hadn't even thought about keeping images and things copied accross! That makes it even more annoying! >_<

Link to comment
Share on other sites

Thanks for your thoughts guys, I've contacted the host and asked if there is anything he can do - I'll let you know what kind of response I get.

 

I hadn't even thought about keeping images and things copied accross! That makes it even more annoying!? >_<

Well, just to let you know (if anyones interested) my provider got back to me today and he didn't have a problem setting it up for only 1 directory! :thumbsup:

 

All sorted now. I'm looking forward to going live in a couple of weeks. Do you think I should post a link here first and let you guys rip the site to shreads (constructively of course!) :blink:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...