I purchased ssl from godaddy but domain url redirection have issue - ssl

i dont know whats wrong with my settings .i am using opencart 2.3.0.2 .Enabled ssl from settings of my cms.
when i run
https:sharishari.com
it works fine.
i want when i or any one enter my domain name sharishari.com it should redirect to https:sharishari.com
each time i have to write complete url with https to go on https.
and second thing its view is non responsive and non functional when i write
sharishari+ctrl Enter .
here is my
root config file
i removed www from the domain
and admin
config file
https://codeshare.io/2pAlLV
i just shared the above part .db part excluded in sharing
Please i will be very thankful if somebody sort out my problem.best regards

After enabling SSL from your open cart backed, first of all, you will have to update your config files for both catalog and admin. You will have to edit link as "https".
Apart from that, you will have to edit your links provided on header.tpl. Just find and replace all 'http' to 'https'. You can find header.tpl at catalog/view/theme/themename/common/header.tpl
Hope that helps.

You need to change in both
config.php
admin/config.php
to https:
also go to your catalog/view/thene/YOURTHEME/common/header.tpl
And their all of your scripts, css files and so forth to https
And easy way to find them do a ctrl+f search on http and you will find the,
If you have any custom code like social media links, you need to change them to https aswell.

OK you need to redirect to HTTPS (opencart does not do this when enabling SSL) and you need to edit your theme header file, see Innervisions comment
Opencart only switches to SSL on checkout, account, login, etc pages.

Related

GitHub pages repository linked to a custom domain, but the content is not rendering

I've deployed my web site to GitHub pages and it worked perfectly with the GitHub URL. Then I configured my custom domain from Godaddy to my repository and I believe it's properly configured because when I go to my custom domain in the browser the title appears in the browser tab, however no content is being rendered on the screen. It's a blank page. Any guesses on what the problem could be is much appreciated. The domain name is "connorjaksik.com"
Originally I didn't set up the DNS records properly on "GoDaddy".
I didn't add a CNAME with a value of my GitHub account username.
After that I noticed the domain was reaching my repository on github, but not rendering the content.
I had to change the repositories package.json "homepage" setting from the default, to my custom domain.
The source HTML code for your blank page shows "http://parked-content.godaddy.com/park/...", which means the redirection is not happening and Godaddy provides a placeholder page in the meantime.
Check your DNS provider settings, as explained here: it needs to allow "Naked" CName records in order to redirect your GitHub pages to a all domain name.

After Intsall SSL on magento site

I installed SSL certificate for my magento store and set system config to:
Use Secure URLs in Frontend:yes
Use Secure URLs in Admin:yes
however when I review the page source some links have http:// instead of https://
I cleaned up the cache, but was not able to solve this issue, can any one help me?
You will need to fix your theme's templates, styles and extensions.
Search in projectroot for href="http:// or src="http:// and replace by href="// and src="//
also make sure external resources support ssl

Opencart admin panel not accessible

Since I installed a SSL certificate on my website, the admin panel is not accessible.
It´s actually because I cannot click the login button.
https://www.umweltfreunde.com/admin/
Thanks a lot for helping me fix this.
Razvan
It is because on your site, the base URL is not https. Currently it is as in the screenshot below:
Please make changes in your admin header file to change the base URL to HTTPS.

setting up an SSL site with multiple bindings in IIS 8.5

I am hoping you can help. I have 5 websites that run off the same .net code base and have different themes based on the url.
For example, http://site1.mydomain.co.uk is set up so that it does a http redirect to https://site1.mydomain.co.uk and I have the main SSL IIS entry as mydomain.co.uk with a wildcard SSL certificate and bindings for https://site1.mydomain.co.uk.
The issue I have though is when I put the http redirect on one of the other urls, all of them change to the last one entered. If that makes sense?
So, let's say I have just finished the site1.mydomain.co.uk entry and now move onto site2.mydomain.co.uk. I create the https://site2.mydomain.co.uk binding in the main mydomain.co.uk IIS record and then put a http redirect on http://site2.mydomain.co.uk so that it redirects to https://site2.mydomain.co.uk.
If I then go and check the previous record, site1.mydomain.co.uk the redirect has now changed to https://site2.mydomain.co.uk which is not what I wanted. Why is it doing this and how can I prevent this?
Is there any chance you're using the same folder in the filesystem for all 5 websites?
In IIS, the HTTP Redirect settings are stored in a web.config file in the folder you're serving from, so if you were serving all 5 sites from the same folder then they would all have the same settings, i.e. changing the settings for one of them would change it for all of them.
That being said, I strongly recommend that you use URL Rewrite to do http to https redirects. Doing the redirect in this way is compatible with having 5 sites served from the same folder. You can install it from here (WARNING: the install requires an iisreset, i.e. a brief downtime for your site): http://www.iis.net/downloads/microsoft/url-rewrite
After installing URL Rewrite, you can create a rule to do the redirect. Stack Overflow won't let me post the screenshot here, so I uploaded it to here: http://postimg.org/image/4s4vjajs3/cf4f5c08/
Also, if you're using a wildcard certificate, then doing the redirect in this way might remove your need for having 5 different websites.

Enabled SSL gives issues

I really dont know what is the problem nor does my website hosting providers. Im using wordpress to run my business and Im using a shop plugin called "Shopp". Whenever I fill in the Paypal Pro details to process credit card on my website, I get teh following on the checkout page: "Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
I can assure you that the plugin has nothing to do with it as I have tried different shop plugins. Can someone help? The url is www.imayne.co.uk/shop/checkout
Few info:
I have SSL automatically installed by my provider
Hosted package was said to be Linux
Usually that's caused by a page (or pages) that simply redirect to each other:
first.php:
<?php
header("Location: second.php")
second.php
<?php
header("Location: first.php");
or a single page that redirects to itself. check your server logs to see exactly what the requested URL is, and then look for a wordpress rule that'd cause the redirect. Possibly you're trying to redirect from non-SSL to SSL-enabled pages, but are doing the redirect wrong, so you end up back at the same page, which then tries to redirect to SSL, fails, etc...
and indeed, after trying your link, you get redirected to https://www.imayne.co.uk/shop/checkout/, which then keeps on redirecting to itself. So, your shopping car system would appear to be broken.
Your site has been removed so I don't know if you were able to solve the issue.
One thing to keep in mind when using Shopp is, you need a dedicated SSL certificate. A "shared hosting" certificate won't work.