Order Deny,Allow Deny from all #allow access to assets Allow from all #allow access to any image Allow from all #allow access to update.json Allow from all #allow access to ajax Allow from all RewriteRule ^(.*)$ /index.php [L] #allow access to ajax.php Allow from all