javascript - What is the most 'kosher' or 'correct' way to do https redirection? -


the 'most visited' or 'speed dial' page of google chrome shows website 500 or 404 server error consistently, if remove , gets reset. fear has https redirection scheme.

the reason suspect because of https because don't have problem running app locally, preview of page shows correctly, title , all. difference not running https on local machine.

my main question 'kosher' way redirect https? use client side js scheme. i.e window.location.href = www.example.com. reason site doesn't show correctly on chrome's 'most visited' page?

i haven't seen problem on firefox.

redirect may have nothing @ all, difference know of between main server , local one.

typically if want redirect "http://www.example.com" "https://www.example.com" on server side, scripting language php or ruby or python, or configure web server (eg, apache) it.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -