What is triggering redirection

Hello,

I’m trying to find out why the following two URLs are redirecting,
https://stylusdesign.co.jp/ja/vr
https://stylusdesign.co.jp/en/vr/

They are redirecting to https://stylusdesign.co.jp/vr/
I already deleted those two pages before.

I have no clue at this point and did a test on this site,
http://redirectcheck.com/index.php

and here’s the result,
Results:
https://stylusdesign.co.jp/ja/vr

HTTP/1.1 301 Moved Permanently
Date: Fri, 24 May 2019 07:30:28 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d79cc553e2422f8fab34742cc6af123f41558683026; expires=Sat, 23-May-20 07:30:26 GMT; path=/; domain=.stylusdesign.co.jp; HttpOnly; Secure
X-Powered-By: PHP/7.3.4
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
X-Redirect-By: WordPress
Location: https://stylusdesign.co.jp/vr/
Vary: User-Agent
Expect-CT: max-age=604800, report-uri=“https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct
Server: Cloudflare
CF-RAY: 4dbd90735c3b1e8d-SJC

https://stylusdesign.co.jp/vr/

HTTP/1.1 200 OK
Date: Fri, 24 May 2019 07:30:30 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d712301331dfd3a24ecd5062a02c6a76d1558683028; expires=Sat, 23-May-20 07:30:28 GMT; path=/; domain=.stylusdesign.co.jp; HttpOnly; Secure
X-Powered-By: PHP/7.3.4
Link: ; rel=“https://api.w.org/”, ; rel=shortlink
Vary: Accept-Encoding,User-Agent
Expect-CT: max-age=604800, report-uri=“https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct
Server: Cloudflare
CF-RAY: 4dbd907debbb9bc7-SJC

Does it have something to do with Cloudflare? Please help.

What do you mean by redirect to “vr”? All your links seem to be the same for https://stylusdesign.co.jp/vr/, right?

Oh, sorry. The following URL passes redirect to /vr/
/ja/vr/
/en/vr/

It didn’t show the actual URLs above.

Does your server IP end in 187?

Yes, it ends in 187.

Well, for starters, your server is not configured for HTTPS. It listens on port 443 but neither returns a valid certificate for your domain nor shows your site (on the default certificate). Thats something you should have your host fix first.

1 Like

Thank you for your advice.

I’m not familiar with port 443 and looked it up online. Is that something that server side has some issues? or can I fix it in my Cloudflare setting?

BTW, should I turn on “Always Use HTTPS” Page Rules option in the setting?

It is something whoever maintains your server has to fix. Port 443 is the default port where HTTPS is served.

“Always use HTTPS” is a good idea as this will redirect HTTP calls to HTTPS already on Cloudflare’s side, but you should get the HTTPS issue on your server fixed first.

I use Sakura Internet service and unfortunately they are closed on weekend. Meanwhile, I found this article and sorry, it needs translation for you,

Is that the issue that I’m facing now? If so, are there any solutions at all?

I am afraid I cant tell what that article is saying, but it seems to be more than four years old. If your host isnt working over the weekends I would suggest you wait until Monday and contact them then. What they basically need to do is configure your site on their server so that it is available under HTTPS. That will also include configuring a certificate for your domain, but the steps here really depend on their setup.

Did you translate that page? In case you didn’t, you can right click on blank area on Chrome and choose “Translate to English”.

Does this issue affect Google index ranking? My home page doesn’t show up for my main keyword for a while.

I am not using Chrome.

Right now the main goal is to get your server fixed.

I contacted my server and they told me that A record is not pointing to their server, it points to IP end in 246. They told me there are two IPs, both end in 246.

I see IP end in 187 in Cloudflare DNS type A pointing to their IP but somehow they point to different IP numbers.

A) That is how Cloudflare works and I’d expect any remotely decent host to be aware of that
B) That is not an answer to the request. They need to set up HTTPS and IPs are unrelated here.

One thing I forgot to menshion,
They started providing free SSL(Let’s encript) service last year and if I stop Cloudflare and change name server to theirs, set up their SSL, and come back to Cloudflare, would that be work around for this issue?

They told me the Port 443 is open for their SSL.

Your workaround might work, but I cant guarantee that. You really need to clarify this with them.

Port 443 might be open but the server is not properly configured for your domain as I already mentioned two days ago at What is triggering redirection - #6 by sandro

It sounds like I have the only option of that work around unless upgrading to their better plans. I will try that when timing is right and see how it goes.

In order to migrate back to my server, set up their SSL and come back to CF what would be the best way to do so? Should I delete my site from CF first? Or can I just set it to Development Mode? and then change the name server?

Why would you need to change nameservers?

I wish I don’t need to change name servers but because IP doesn’t point to theirs now I can’t set up their free SSL That’s what I heard from them. Maybe it’s because I signed up for their standard plan, upgraded plans might have better options. I prefer other solution if any and avoid down time of the site.