Alias /wordpress /usr/share/wordpress # Access is only allowed via local access # Change this once configured AllowOverride Options Require local # Deny access to any php file in the uploads directory Require all denied # Deny access to any php file in the akismet directory Require all denied