Forums / General Questions / ssl www and htaccess question/prob

ssl www and htaccess question/prob

Locked

Started by sckwooral on 27 Jun 2008, 7:26 PM · Views: 1,301

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
27 Jun 2008, 7:26 PM
#1
sckwooral avatar

sckwooral

New Zenner

Join Date:
Mar 2008
Posts:
18
Plugin Contributions:
0

ssl www and htaccess question/prob

My client purchased an ssl for their site but the problem is that the ssl is registered for "www.myclientswebsite.com" but when using Zen Cart every address uses "myclientswebsite.com" (no www) and it's producing certificate errors. I found an article online about adding code to the ".htaccess" file to point the address always to "www" but that messed with my cart and I couldn't login or anything (I probably typed it in wrong but I followed the directions...) so I took that back out. Is their anyway to eleviate the problem without having to buy another ssl for the site without the "www"?

Thanks

27 Jun 2008, 8:25 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: ssl www and htaccess question/prob

A simpler approach would be just to put the correct URL in your configure.php files ...

Related FAQ: https://www.zen-cart.com/tutorials/index.php?article=14

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.