How to Redirect a Domain to New URL with 200 HTTP Code

RohanKohli5

Newbie
Joined
Nov 18, 2019
Messages
16
Reaction score
0
Hi,

I saw many sites which have redirected a URL to New URL with 200 HTTP Code. Anyone please help me to do this.

Thanks.
 
I'm guessing they have a script which sends a 200 header response. Anyway, why'd you wanna do this? 301 redirects pass link juice from the old URL, unless you do a 301 and then run a script to change the code. I don't think it gives any kind of benefit for SEO.
 
I'm guessing they have a script which sends a 200 header response. Anyway, why'd you wanna do this? 301 redirects pass link juice from the old URL, unless you do a 301 and then run a script to change the code. I don't think it gives any kind of benefit for SEO.
Thanks for your response!

Can you please provide me the script. I just need for testing purpose :)
 
Code:
<meta http-equiv="Refresh" content="0; URL=https://example.com/">
 
Code:
<meta http-equiv="Refresh" content="0; URL=https://example.com/">
It is not!

Redirection checker tool showing "Meta Refresh". I need 200 OK HTTP status from the end. :)

Thanks.
 
It is not!

Redirection checker tool showing "Meta Refresh". I need 200 OK HTTP status from the end. :)

Thanks.
It's the same thing. That's (one of the ways) a 200 redirection can be performed...
 
Back
Top