I have a .htaccess file with the following:
RewriteEngine on
RewriteRule ^(font-awesome|fonts|template_source|content-loader.php|builder-loader.php|page-actions.php)($|/) - [L]
RewriteRule !\.(js|ico|gif|jpg|png|css|html|swf|mp3|wav)$ index.php [NC,L]
To be honest, I have no idea what the last line does. All I know is that I need to exclude files and that putting a file-name in the "RewriteRule ^"-part should exclude a file.
The problem is that I am using AJAX to call a php-file:
$(".sortable").load("page-actions.php/add_page",{siteID: 2});
I want to call the function "add_page" in the file "page-actions.php". How can I create an exclude for this?