Site automatically changing links to https - iis

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.

Related

Issue with redirection in IIS 10

I have hosted a website in IIS but the site is always redirecting to Https localhosts eventhough i provided only http protocol port.
but when i browse the site it is redirecting to
https://localhost/
No idea why this site is behaving like this ?
There must be an HTTP redirect rule, click on your site, and then find the URL rewrite component, delete the rules you don’t need, so that no redirection will occur.

TYPO3 - Page not found when accessing page via http

I have a TYPO3 10.4.16 page on a Windows Server 2019 IIS 10 Server.
The page is accessible via https. I have created a redirect on my IIS Server to rewrite the URL from http to https. When I enter the page with http on a device, where I never entered the URL before, I get the error Page Not Found. The page did not exist or was inaccessible. Reason: No site configuration found.
When I enter the page with http on a device, where I entered the URL with https before, the redirection to https works.
How can I edit my TYPO3 site configuration to handle also the http version of the page? Or how can I create a redirect in TYPO3 from http to https?
Thank you very much!
The difference between the device where you never used the URL and the other device is that the browser remembers that https is available for that domain and always prefers that.
So obviously the redirect from http to https in the IIS settings is not working correctly. To check that the redirect is really working you can use curl on the command line:
curl -IL http://domain.tld
-I shows only the header data
-L follows redirects
There is no way to handle the https redirect within the TYPO3 configuration.

Permalinks pointing to HTTP even after inserting Certificate

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.

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.

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