Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

moving of website from /shop to root directory


dorothyp

Recommended Posts

Hi,

 

I'm helping my friend with her osCommerce website and I'm not sure how to handle the following problem.

 

#1 - store was installed in /shop directory instead of the root directory

 

#2 - SSL was issued to domain name

 

#3 - if we direct users to domain name/shop, they get a security alert telling them that the name of the security certificate does not mach the name of the site

 

#4 - I tried to move everything from /shop to root directory but when I tried to access the site .. I was caught in an infinite loop

 

What should I do .. do I try and move everything into the root directory since that's how the SSL certificate was issued? Can I get the SSL certificate changed?

 

Any help/suggestions would be greatly appreciated.

 

Thanks

Link to comment
Share on other sites

#1 - store was installed in /shop directory instead of the root directory

 

#2 - SSL was issued to domain name

 

I doubt your problem is /shop it's more likely that the certificate was issued to domain.com instead of www.domain.com.

 

If you find that the cert was issued to domain.com instead of www.domain.com just change the

 

define('HTTPS_SERVER', 'https://www.mysite.com/');

 

to

 

define('HTTPS_SERVER', 'https://mysite.com/');

 

#3 - if we direct users to domain name/shop, they get a security alert telling them that the name of the security certificate does not mach the name of the site

 

#4 - I tried to move everything from /shop to root directory but when I tried to access the site .. I was caught in an infinite loop

Link to comment
Share on other sites

Hi,

 

I checked the certificate .. (https://sensationaljewelryandgifts.com/shop/) and it seems to be issued to www.sensationaljewelryandgifts.com.

 

When I moved everything from /shop to the root, I did change both configure.php files and removed any reference to /shop. It was really weird, when I would go to www.sensationaljewelryandgifts.com, the invalid certificate popup would just stay there and even though you would hit yes, it would just remain there, you could actually see it refreshing. I'm thinking that there was a redirect placed somewhere but I'm not sure what files to check.

 

Thanks for your suggestions.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...