allow

  1. S

    Allow access to file only from the server itself

    I'm trying to allow only the server itself to run wp-cron.php and deny this file for the rest of the world, so what I did: RewriteCond %{REMOTE_ADDR} !^123\.123\.123\.123 RewriteRule wp-cron.php$ - [F,L] But it doesn't work, any suggestions please?
Top