Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: wp-admin/index.php keeps changing

Discussion in 'Misc WordPress Requests' started by bicartwright, Oct 23, 2017.

  1. bicartwright

    Guest

    Reply To: wp-admin/index.php keeps changing, by bicartwright

    Hi, Ethen,

    Thank you for your quick reply, No I’m putting the index.php in the we-admin directory. Sure do wish that was it though. I’ve verified several times though and its going in the wp-admin directory. I’ve included the header of the index.php I put into the wp-admin directory and as I log into admin (successfully I might add) I look at the size via FTP client and its changed back. Properties are set to 644 though. Any problem with that? I haven’t tried changing them to 444.

    Here is the header of the index that works.

    <?php
    /**
    * Dashboard Administration Screen
    *
    * @package WordPress
    * @subpackage Administration
    */

    /** Load WordPress Bootstrap */
    require_once( dirname( __FILE__ ) . ‘/admin.php’ );

    /** Load WordPress dashboard API */
    require_once(ABSPATH . ‘wp-admin/includes/dashboard.php’);

    Reply To: wp-admin/index.php keeps changing
     
    #1

Share This Page

Web Hosting