cancel
Showing results for 
Search instead for 
Did you mean: 

Redirecting https

ragiggman
Newbie
Posts: 4
Registered: ‎01-08-2017

Redirecting https

I am currently redirecting from my web space vodden.plus.com to my wordpress.com site using:

<meta http-equiv="refresh" content="0;URL=http://petervodden.wordpress.com" />

I (and others of my friends and acquaintances) have noticed that some people have started to use https:// as a default when linking (why, I don't know, seems daft to me - why would you request a simple personal website encrypted? - but it is happening..).

So requesting https://www.vodden.plus.com just responds with a "Privacy Error" in the browser - I assume because because the redirect mechanism cannot pass a certificate.

Should I redirect to https://petervodden.wordpress.com - will that work?

Or, if I switch to a CNAME enabled redirection, will the DNS server then pass a certificate to https://petervodden.wordpress.com?

If not, is there another way around this problem?

Any assistance gratefully received.....

7 REPLIES 7
decomplexity
Rising Star
Posts: 493
Thanks: 26
Registered: ‎30-07-2007

Re: Redirecting https

Do you get a similar error if you do the redirect via JScript, e.g. 

<script language=JavaScript type=text/javascript>

window.location = https://petervodden.wordpress.com

</script>

Zen from May 17. PN Business account from 2004 - 2017
ragiggman
Newbie
Posts: 4
Registered: ‎01-08-2017

Re: Redirecting https

Yes. I have updated the index.html page to include:

<script language=JavaScript type=text/javascript>
window.location = "https://petervodden.wordpress.com";
</script>

That makes no difference.

If the problem is SSL, then I wouldn't expect the mechanism (refresh, script, CNAME etc.) to make a difference. If the Plusnet server has no certificate for  https://www.vodden.plus.com, the it can't negotiate with the server at Wordpress. I'm not an SSL expert, but I have read that a lot of server administrations wrongly assume that redirecting https to another https doesn't need a certificate - but it does.

bobpullen
Community Gaffer
Community Gaffer
Posts: 14,887
Thanks: 2,493
Fixes: 168
Registered: ‎04-04-2007

Re: Redirecting https

Use https://homepages.plus.net/vodden

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

ragiggman
Newbie
Posts: 4
Registered: ‎01-08-2017

Re: Redirecting https

Sorry, Bob, I am not quite sure I understand.

Do you mean use a CNAME record to send any incoming request for my vodden.plus.com domain to

homepages.plus.net/vodden which then will handle any redirection expressed in code in my index.html page?

bobpullen
Community Gaffer
Community Gaffer
Posts: 14,887
Thanks: 2,493
Fixes: 168
Registered: ‎04-04-2007

Re: Redirecting https

Ah, may have misinterpreted the ask. I wonder if an htaccess directive to rewrite https://www.vodden.plus.com to https://homepages.plus.net/vodden would work?

Edit: on second thoughts it wouldn't as it would fundamentally break what SSL is there to do in the first place. I don't see a solution to this. Either those linking need to use https://homepages.plus.net/vodden, or visitors will have to put up with the error.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

ragiggman
Newbie
Posts: 4
Registered: ‎01-08-2017

Re: Redirecting https

Yep I agree. There is no solution.

I am guilty of using a method for temporary redirection in a manner for which it was not designed.

What I plan to do is update the DNS settings. It means I will no longer be able to serve up resources from my Plusnet webspace - but at least I can still utilise my FTP service for file storage. (I think - is that correct?)

 

Chris
Legend
Posts: 17,724
Thanks: 598
Fixes: 168
Registered: ‎05-04-2007

Re: Redirecting https

You can use the homepages to store files up to the allowance there, that shouldn't be an issue -Chris

Former Plusnet Staff member. Posts after 31st Jan 2020 are not on behalf of Plusnet.