• Modify by Teresax 
    
    wp-postratings
    Lester Chan
    https://www.ads-software.com/plugins/wp-postratings/
    
    // if you block/redirect/restrict wp-admin this plugin does not work.
    // this does not apply to block htaccess
    
    // I do not assume any responsibility
    
    // wp-postratings change this:
    'ajax_url' => admin_url('admin-ajax.php', (is_ssl() ? 'https' : 'http')),
    // to
    'ajax_url' => site_url('admin-ajax.php', (is_ssl() ? 'https' : 'http')),
    
    //________________________//
    
    // wp-admin-ajax.php //
    
    // copy wp-admin-ajax.php and paste to root site
    //do not delete wp-admin-ajax.php from wp-admin folder
    
    //change this:
    
    require_once('wp-load.php' );
    
    require_once( ABSPATH . '/wp-admin/includes/admin.php' );
    
    require_once( ABSPATH . '/wp-admin/includes/ajax-actions.php' );
    
    let me know.
    I'm not an expert
  • The topic ‘Move wp-admin-ajax.php’ is closed to new replies.