Alias /wordpress /usr/share/wordpress # Access is only allowed via local access # Change this once configured AllowOverride Options # Apache 2.4 Require local # Apache 2.2 Order Deny,Allow Deny from All Allow from 127.0.0.1 Allow from ::1 # Deny access to any php file in the uploads directory Order Deny,Allow Deny from all # Deny access to any php file in the akismet directory Order Deny,Allow Deny from all