php - Redirect site from https to http using htaccess or any other way -


I tried all the answers mentioned on a search engine to redirect the site from https to http but it worked for me Are not.

I tried: And here all the methods

Let me explain something more here:

My site (combustiondepot.com) is a separate site and SSL Are you there before it is established? Everything is working fine at that time. After that we removed the main combustion.com Dis.com site and made it the Aden domain for our main domain, IndustrialStor.com.

Now the site is working fine except for https. Whatever I change, I am making in HTACAC or PHP, these are no use.

Examples of work above you if you have

If you want to use the code, then you can do something like that using your PHP.

  & lt ;? Php if ($ _SERVER ['HTTPS']) {$ Host = $ _SERVER ['HTTP_HOST']; $ Request_uri = $ _SERVER ['REQUEST_URI']; $ good_url = "http: //" $ host $ REQUEST_URI; Header ("HTTP / 1.1 301 Permanently Progressed"); Header ("location: $ good_url"); Go out; }? & Gt;    

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -