I want to redirect users from my http website to https site is there like a meta or Javascript or html to do this my site has a http server as well as a secure version,any help would be appreciated!
相关问题
- Views base64 encoded blob in HTML with PHP
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
From https://stackoverflow.com/a/5411601/5031164
You should use html meta tag for newer browsers AND a javascript script for the older one, at the same time:
I also report:
As a quick-fix you can do it like this:
But I recommend you to do it using the available method in your web server