I had to block my site from my country, since I don't want locals seeing my content, However I need to edit my site, to fix this problem, I use a proxy, (ghost surf). and this works fine as long as I don't need to upload images, this is where my problem occurs. What I want to achieve is a script or solution which will exclude my IP address so I dont have to hide via Proxy. in the .htaccess file I tried this script: RewriteCond %{REMOTE_ADDR} !^190\.80\.145\.154$ RewriteCond <existing webmaster visitor detection> RewriteRule <existing webmaster redirect> but it didnt work and, even if it did work my ip changes so I would have to constantly edit htaccess, does anybody have a better idea. Thanks
You can use "Allow from 1.2.3.4" (without quote) in your htaccess to allow particular IP address. But if you have dynamic IP address then you will need to allow complete range of your dynamic IP address.
don't block the entire site. Leave your admin panel open so you can login there and upload whatever you need to upload and change.