Forum Moderators: phranque
I want to reconfigure and do it "right" this time.
My assumptions is that "right" means I should make it simpler by assigning my SSL cert to site.com and using what is described here:
[askapache.com...]
to send users to secure or non secure pages.
Is this a correct assumption? I want to make sure Im on the right track before I transfer the SSL.
Really, this all boils down to how you define the SSL and non-SSL portions of your site -- By (sub)domain (for example, all SSL in "shop.example.com"), or by URL-path in the main domain (for example, all SSL in a "/shop" subdirectory). Having a 'clean' and clear way of looking at the requested URL and deciding whether the request should be SSL or non-SSL so you can redirect it if the request is 'wrong' in either case makes life a whole lot easier.
Jim
The purpose is two-fold: To be sure your certificate will validate, and to avoid duplicate-content problems. Any given unique 'page' on your site should be accessible by one and only one URL; Any change in the URL (or the appended query string) whatsoever --no matter how minor-- should results in either a 404-Not Found or 301-Moved Permanently response from your server.
Jim