Know which script/page is being called by ajax call

Open the website with Web Developer tools or Browser inspection tools ( Firebug )etc and then Run “Console”. Refresh your website and see the Ajax calls. Check the POST window in Ajax call to see action script. That’d tell you the exact function being called.

Changing post per page causing 404 for pagination. Need a redirect htaccess rule

i found a solution with no use of htaccess but using the WP function wp_redirect. copy and past on functions.php function redirect_paginated_404() { if (is_404()) { $url = $_SERVER[‘REQUEST_URI’]; //read the url $search=”/page/”; //chose the word of the url if ( strpos( $url, $search ) !== false ) { //if i find the string /page/ … Read more

new post link leads to 404 error page

It’s possible this is a permissions error, relating to a incorrect permissions for a particular fine used in post editing. Have you tried setting correct permissions for your WP install? Here’s a bit of further documentation: https://codex.wordpress.org/Changing_File_Permissions