Jump to content
Sign in to follow this  
BluegrassGardener

Redirect Https To Http

Recommended Posts

Just recently noticed I have an index page indexed in Big G that is https://. How can I get that permanently redirected through .htaccess?

 

Great Success ! Apache is working on your cPanel® and WHM™ Server. If you can see this page, then the people who manage this server have installed cPanel ...

Share this post


Link to post
Share on other sites

I also have a page that is showing the same as the real page except instead of = it is showing %3D and I can't get that to redirect permanently for some reason. Oh, and for some reason I have webmail.website.com showing up in google's index. Is there a way to hide that somehow? Can't understand why that would even be indexed.

Share this post


Link to post
Share on other sites

Just recently noticed I have an index page indexed in Big G that is https://. How can I get that permanently redirected through .htaccess?

 

You can redirect that URL via a standard redirect in htaccess or via port. However, SSL negotiation occurs before any redirection takes place, therefore, if you have no SSL certificate installed then the redirect will never complete.

Share this post


Link to post
Share on other sites

I tried to redirect last night via .htaccess and no luck. Keep getting errors. I don't guess I get what you're saying. I get the same sort of error when I use https://totalchoicehosting.com yet I go to, say Twitter https://www.twitter.com , and theirs somehow redirects just fine to http:// versus https://twitter.com/ which resolves perfectly, no issues. Has to be some way around this issue to get it to redirect to http://, correct?

Share this post


Link to post
Share on other sites

Please note that https and http are two different protocols working on two different ports. Hence the SSL negotiation is the first one take before the htaccess redirects and https://****** calls cannot be redirected on a shared server without a dedicated SSL installed. And yes TCH and Twitter is having a dedicated SSL installed and that is why its working over there.

Share this post


Link to post
Share on other sites

Using https, it seems it is very easy to find out the server details etc etc from the default screen which displays. But this is the exact information which is nobody's business and is hidden by using error pages in a standard http url.

 

So the question is this: if I can't redirect away from that https page on a shared server, is it possible to have the page changed (presumably by you) so the server information and the other technical details are no longer shown? In other words, a more professional looking page should be returned. Ideally - in my opinion - a blank page.

 

Thanks for your input.

Share this post


Link to post
Share on other sites

The way around it is to get your own dedicated SSL certificate instead of using the shared SSL certificate on the server.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...