Restore only my ip

hello,
can I set a rule that not change ip only for my dedicated IP?
I have roles on my htaccess with my ip and with Cloudflare not works
thank you

Which IP address are you talking about? I assume you are referring to https://support.cloudflare.com/hc/en-us/sections/200805497-Restoring-Visitor-IPs, right?

Can you provide some examples of what you want to achieve?

1 Like

my ip is 79.26.45.29,
I have a subfolder with htaccess:
Order deny,allow
Deny from all
Allow from 79.26.45.29

but clouflare change my ip and I show error 404

You need to restore the client’s IP addresses as shown in the previously posted article.

is not possible restore only my ip?

No. You can only change your configuration in a way that it does not validate the client’s IP address but the header sent by Cloudflare, but I doubt that would be remotely easier.

If your intentions are to block everyone but your static IP from a particular folder or web app, you could simply create a Firewall rule
e.g.
URI Path contains /wp-admin
AND
IP Address does not equal 123.123.123.123

Then Block

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.