Permalinks pointing to HTTP even after inserting Certificate - linux

My site was of HTTP Version and recently installed certificate. Currently it is pointing to HTTPS URL but permalinks still pointing to HTTP version of the URL. Under WordPress Settings -> General ->WordPress Address URL and Site Address URL are still pointing to HTTP version but are greyed down and I can't even edit.
How can I ensure all the permalinks are pointed to HTTPS version?

Hm, go to settings and check are the links HTTPS or HTTP. If they are HTTPS then try Really simple SSL plugin and that shoud work.

Related

How to fix ERR_TOO_MANY_REDIRECTS on custom github pages domain?

So I had github pages set up with a custom domain without problem on namecheap a day ago. Then I tried switching to Https via github's newly added support for https on pages. After too much frustration I switched over to CloudFlare for Https but I'm now getting an error ERR_TOO_MANY_REDIRECTS
Here's my DNS settings on CloudFlare.
Check your SSL setting in the Crypto tab. You should have it set to "Full". If it is set to "Flexible", then Cloudflare will use HTTP to connect to the origin, even when the client browser connects to Cloudflare over HTTPS. GitHub is probably responding with a redirect to HTTPS in this case -- not realizing that the original client is already using HTTPS, and so this redirect creates a loop.
More info here:
https://support.cloudflare.com/hc/en-us/articles/115000219871
The two typical causes of redirect loop errors are:
Cloudflare SSL options that are incompatible with your origin web
server’s configuration, and
Page Rule misconfiguration.
you can update in Custom domain github pages
https://github.com/yourusername/yourusername.github.io/settings/pages
Custom domains allow you to serve your site from a domain other than xxx.com with www, i was clear this issue with this way.

Site automatically changing links to https

I am having few issue with improper URL redirection.
My site is a MVC https site and I have few footer links which are supposed to be http.
In the layout file, I set the URL to www.example.net but when I click the link, it tries to browse as hhttps://www.example.net. If I add hhttp://www.example.net then it tries to browse as hhttps://http//www.example.net
So, can anyone please suggest if any links in the https site should be https as well? When I debug the code and it doesn't have https settings, the URL redirection works fine but only when I put it in server with https, this issues comes.
Note: I added a extra h infront of http or https to fix the no url rule.

Secure HTTPS not working in Magento under CloudFlare

Here is my problem:
I have set magento to run under SSL setting the frontend secure option on admin to Yes
The site run under cloudflare
I set a page rule on cloudflare (according to the support instruction) that goes:
http://fabshopper.com/*
Always uses HTTPS
I'm using ultimo theme in magento
When I open the site in the browser it shows the HTTPS connection but most of the content is not load because the links are HTTP (including CSS, Script, images).
Ultimo theme is supposed to create link either HTTP or HTTPS according to the magento settings, but the link I'm getting are HTTP
I ran out off ideas :(
Can anyone give me an hint?
Thanks
I go through link provided by you and found many URLs loaded from insecure server. check below few of them:
The page at 'https://www.fabshopper.com/' was loaded over HTTPS, but displayed insecure content from 'http://www.fabshopper.com/skin/frontend/ultimo/fabshopper/images/fab_shopper.png': this content should also be loaded over HTTPS.
The page at 'https://www.fabshopper.com/' was loaded over HTTPS, but displayed insecure content from 'http://www.fabshopper.com/media/wysiwyg/autumn-cardigans.png': this content should also be loaded over HTTPS.
Just change the HTTP to HTTPS of all insecure urls and it will solve your problem.

HTTPS on OpenCart - How to disable HTTPS on /admin?

Got a website that need to use HTTPS in the frontend, but the HTTPS is causing issues on OpenCart /admin login page. Seems like all styles are disabled when accessing the /admin section through HTTPS. Client wants everyone to access the site through HTTPS, so we have a 301 redirect to the HTTPS version of the site, but this is causing issues with /admin.
Any suggestions?
If your certificate is valid, this shouldn't be an issue in the /admin
My guess is your cert is for yoursite.com and your admin is forcing www to www.yoursite.com (possibly the other way around). Ensure you have the correct URL in your /admin/config.php for the certificate, particularly the HTTPS_SERVER value defined in there. If that doesn't fix it, you'll need to provide a link
Go to admin folder. First Backup config.php Then edit config.php . Make http:// url to https:// .Then save . Now visit admin page , https works without no issue .

I want to use https in opencart checkout page only, the rest page should have http

I have installed ssl certificate and I want to use https in checkout page only. I have set on the ssl in settings. It's still showing https in all the page.
Please tell me the solution for this.
Thank you!
Opencart by default works with ssl only in checkout pages and when user is logged in, as such the only way for you to have https in all url is to force via .htaccess, the simplest solution if this is the case is to remove the redirection that forces https in .htaccess enable ssl in opencart backend and change the config file site url from http to https, although these are steps you should have taken before, and a simple removal of the right lines in .htaccess should suffice.

Resources