php - Wordpress wp-admin redirect loop -


i know question asked many times here. none of answers solved problem.

when try log-in site through wordpress-admin, this, mysite.com/wp-admin gives me error "this webpage has redirect loop". when try mysite.com/wp-admin/index.php, works fine.

  1. one conclusion came to, is, there no problem plugins. tried changing plugins directory name. doesn't work.

  2. i tried changing file permissions. doesn't work.

  3. added following code .htaccess file

    rewritebase / rewriterule  /wp-admin/ /wp-admin/index\.php [l,p] 

it doesn't work me.

please me. else can do? can give me suggestions?

insert code in functions.php file

 function admin_default_page() {  return 'http://staging.bestbodybootcamp.com/wp-admin/index.php';  }   add_filter('login_redirect', 'admin_default_page'); 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -