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.
one conclusion came to, is, there no problem plugins. tried changing plugins directory name. doesn't work.
i tried changing file permissions. doesn't work.
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
Post a Comment