4 replies
Could someone explain how to make changes to my file system so that my site shows https:// when it is viewed? I have a certificate installed but I don't know what file to make the changes to in order for this to show up. I was told it was fairly easy to make these changes if I knew where to go and what procedures to use. I am running Os Commerce newest version. I can't get my Cpanel hosting techs to touch it but they said it is working and I needed to make these changes to my file system myself.

Rob
#authentication #ssl
  • Originally Posted by RobCapone View Post

    Could someone explain how to make changes to my file system so that my site shows https:// when it is viewed? I have a certificate installed but I don't know what file to make the changes to in order for this to show up. I was told it was fairly easy to make these changes if I knew where to go and what procedures to use. I am running Os Commerce newest version. I can't get my Cpanel hosting techs to touch it but they said it is working and I needed to make these changes to my file system myself.

    Rob
    Hey,

    Maybe this resources can help you ;-)

    a) Force SSL with .htaccess
    https://www.siteground.com/kb/how-to...with-htaccess/

    b) OsCommerce with SSL
    https://www.siteground.com/kb/how_to...work_with_ssl/

    Best Regards,
    Arthur
    {{ DiscussionBoard.errors[10807331].message }}
  • Profile picture of the author Sandakelum
    If you've installed SSL certificate correctly, you need to add rewrite rules to htaccess file so http traffic gets redirected to https
    {{ DiscussionBoard.errors[10817785].message }}
  • Profile picture of the author richardZ
    Originally Posted by RobCapone View Post

    Could someone explain how to make changes to my file system so that my site shows https:// when it is viewed? I have a certificate installed but I don't know what file to make the changes to in order for this to show up. I was told it was fairly easy to make these changes if I knew where to go and what procedures to use. I am running Os Commerce newest version. I can't get my Cpanel hosting techs to touch it but they said it is working and I needed to make these changes to my file system myself.

    Rob
    Can you tell me which server are you using and how are you visiting your site url?

    If you are accessing your website with url http://xyz.com and you can't find https at that time then it means you have not redirected your http urls to https.

    So for that read this article

    And if you are accessing your website through https://xyz.com and you will see url with https://xyz.com then it is ok but if you will not see url with https://xyz.com then there is some other issue like ssl installation is not properly done etc. etc.
    {{ DiscussionBoard.errors[10822094].message }}
  • Profile picture of the author MoneyTalksBack
    Originally Posted by RobCapone View Post

    Could someone explain how to make changes to my file system so that my site shows https:// when it is viewed? I have a certificate installed but I don't know what file to make the changes to in order for this to show up. I was told it was fairly easy to make these changes if I knew where to go and what procedures to use. I am running Os Commerce newest version. I can't get my Cpanel hosting techs to touch it but they said it is working and I needed to make these changes to my file system myself.

    Rob
    Put this at the top of your .htaccess file. Just make sure the URL is updated to yours.

    Code:
    RewriteEngine On 
    RewriteCond %{SERVER_PORT} 80 
    RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]
    {{ DiscussionBoard.errors[10823759].message }}

Trending Topics