Redirect a https link to http link ?

wii

Active member
Using .htaccess and yes, I've looked everywhere, but can't find a way to redirect a https link to http link, like this:

https://olddomain.com

To

http://newdomain.com

Any help would be appreciated, thanks a lot
wink.png
 
Why don't you just put an index.html on the old site, with something like this in the head?

HTML:
<meta http-equiv="REFRESH" content="0;url=http://newdomain.com">

Or better yet if you can run php on the site:

PHP:
<?php
header('Location: http://newdomain.com/');
?>
 
I've tried all that, but it doesn't help, the problem is still that the browser can't get passed the old https link, it doesn't redirect, if I change the old domain to http then it works.
 
I've tried all that, but it doesn't help, the problem is still that the browser can't get passed the old https link, it doesn't redirect, if I change the old domain to http then it works.

That's weird. Try it with a different browser. I just tried the php method on one of my restricted https sites, and it worked just fine, I was at the new site instantly, without any delay or error message.
 
Tried it with IE, Firefox, Opera and Chrome, same problem...I don't think it's browser related.

This is so strange...
 
Tried it with IE, Firefox, Opera and Chrome, same problem...I don't think it's browser related.

This is so strange...

Is the webaddress public? I can check if it comes up with any errors for me from over here.
 
Top Bottom