301 redirect except IP staff

Hello,

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.

Hello,

Thanks for your link,

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

127.0.0.1 IPSERVER #loopback

Thx

Hello,

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 127.0.0.1 ipserver

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