301 redirect except IP staff


Sorry for my English I am French.

I would like to set up a 301 redirect from the old version of my site to the new one, but how can I prevent my personal IP address from being redirected?

Thank you

You can’t. If use a local hosts file on your computer, you can bypass Cloudflare by put the server’s IP address in that hosts file.


Thanks for your link,

So if I understand correctly I must put in my hosts file: IPSERVER #loopback



I tried what I marked above but it doesn’t work. I do not know what to do ? THX

Finally I found,

I had to put:

IPserver domain redirection

and not ipserver

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.