skip to Main Content

WP Admin panel is broken, no link works, and only some links are visible.
I tried full permission on the directory level, and disable all themes and plugins.

3

Answers


  1. Chosen as BEST ANSWER

    Login via FTP or CPanel and in the wp-config.php before require_once add below code into file :

    define('CONCATENATE_SCRIPTS', false);
    

    From the official docs:

    To result in faster administration screens, all JavaScript files are concatenated into one URL. If JavaScript is failing to work in an administration screen, you can try disabling this feature.

    https://developer.wordpress.org/apis/wp-config-php/#disable-javascript-concatenation


  2. please check wp-config.php and edit it according to your database.
    Also Check wp_options in my sql data base

    Login or Signup to reply.
  3. Add the below code in .htaccess file in WordPress root directory. If not exits the file please create it.

    # BEGIN WordPress
    
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    
    # END WordPress
    

    Still, if it not works please add the two lines of code in the wp-config.php file

     define('WP_HOME','http://yourdomain.com');
     define('WP_SITEURL','http://yourdomain.com');
    

    Thank you

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search