wp-admin automatically redirects, not able to access wordpress dashboard
When I'm trying to access my WordPress dashboard like, https://www.example.com/wp-admin then it automatically redirects to
https://www.example.com/wp-login.php?redirect_to=https%3A%2F%2Fexample.com%2Fwp-admin%2F&reauth=1
What I'm suppose to do?? and when I login to this url I'm redirect to example.com/user/
I'm not able to access WordPress dashboard
screen shot of url redirects
and when i enter username and password and try to login, it's redirect to user page
after login redirects
wordpress wordpress-login wordpress-admin
add a comment |
When I'm trying to access my WordPress dashboard like, https://www.example.com/wp-admin then it automatically redirects to
https://www.example.com/wp-login.php?redirect_to=https%3A%2F%2Fexample.com%2Fwp-admin%2F&reauth=1
What I'm suppose to do?? and when I login to this url I'm redirect to example.com/user/
I'm not able to access WordPress dashboard
screen shot of url redirects
and when i enter username and password and try to login, it's redirect to user page
after login redirects
wordpress wordpress-login wordpress-admin
does your site has ssl
– Harshit_Raj
Nov 13 '18 at 13:42
try adding to define('FORCE_SSL_ADMIN', false); wp-config.php file
– Harshit_Raj
Nov 13 '18 at 13:49
yes it has ssl from cloudflare and it doesn't work by adding this line to wp-config.php file
– Parth Nandaniya
Nov 13 '18 at 14:11
add a comment |
When I'm trying to access my WordPress dashboard like, https://www.example.com/wp-admin then it automatically redirects to
https://www.example.com/wp-login.php?redirect_to=https%3A%2F%2Fexample.com%2Fwp-admin%2F&reauth=1
What I'm suppose to do?? and when I login to this url I'm redirect to example.com/user/
I'm not able to access WordPress dashboard
screen shot of url redirects
and when i enter username and password and try to login, it's redirect to user page
after login redirects
wordpress wordpress-login wordpress-admin
When I'm trying to access my WordPress dashboard like, https://www.example.com/wp-admin then it automatically redirects to
https://www.example.com/wp-login.php?redirect_to=https%3A%2F%2Fexample.com%2Fwp-admin%2F&reauth=1
What I'm suppose to do?? and when I login to this url I'm redirect to example.com/user/
I'm not able to access WordPress dashboard
screen shot of url redirects
and when i enter username and password and try to login, it's redirect to user page
after login redirects
wordpress wordpress-login wordpress-admin
wordpress wordpress-login wordpress-admin
edited Nov 13 '18 at 14:57
Parth Nandaniya
asked Nov 13 '18 at 13:36
Parth NandaniyaParth Nandaniya
229
229
does your site has ssl
– Harshit_Raj
Nov 13 '18 at 13:42
try adding to define('FORCE_SSL_ADMIN', false); wp-config.php file
– Harshit_Raj
Nov 13 '18 at 13:49
yes it has ssl from cloudflare and it doesn't work by adding this line to wp-config.php file
– Parth Nandaniya
Nov 13 '18 at 14:11
add a comment |
does your site has ssl
– Harshit_Raj
Nov 13 '18 at 13:42
try adding to define('FORCE_SSL_ADMIN', false); wp-config.php file
– Harshit_Raj
Nov 13 '18 at 13:49
yes it has ssl from cloudflare and it doesn't work by adding this line to wp-config.php file
– Parth Nandaniya
Nov 13 '18 at 14:11
does your site has ssl
– Harshit_Raj
Nov 13 '18 at 13:42
does your site has ssl
– Harshit_Raj
Nov 13 '18 at 13:42
try adding to define('FORCE_SSL_ADMIN', false); wp-config.php file
– Harshit_Raj
Nov 13 '18 at 13:49
try adding to define('FORCE_SSL_ADMIN', false); wp-config.php file
– Harshit_Raj
Nov 13 '18 at 13:49
yes it has ssl from cloudflare and it doesn't work by adding this line to wp-config.php file
– Parth Nandaniya
Nov 13 '18 at 14:11
yes it has ssl from cloudflare and it doesn't work by adding this line to wp-config.php file
– Parth Nandaniya
Nov 13 '18 at 14:11
add a comment |
1 Answer
1
active
oldest
votes
It seems the problem in your .htaccess
file. Please delete .htaccess
file and try to login again. Then logged-in successfully.
After that, you can access your dashboard URL https://www.example.com/wp-admin.
Note: Now you need to change permalink from admin panel as:
Settings -> Permalinks
Change to plain and save it. After visiting then you reset it and .htaccess
file regenerate automatically.
Yes, Please remove it with backup.
– Gufran Hasan
Nov 13 '18 at 14:12
Please see this link fixrunner.com/cannot-login-wordpress-admin-area
– Gufran Hasan
Nov 13 '18 at 14:14
it doesn't work, i delete.htaccess
file from plublic_html/.htaccess, but nothing change, even when i login it redirect to example.com/user/<USERNAME>/?redirect_to=https://…
– Parth Nandaniya
Nov 13 '18 at 14:26
Okay, Have logged in and able to see adminpanel strip after loggin?
– Gufran Hasan
Nov 13 '18 at 14:30
1
i solve it by editing database, it's actually problem with users. so if you have this problem too, first of all delete all the users in database and create a new admin user then try to login in wp-admin, you will redirect to dashboard
– Parth Nandaniya
Nov 16 '18 at 10:26
|
show 4 more comments
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53282227%2fwp-admin-automatically-redirects-not-able-to-access-wordpress-dashboard%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It seems the problem in your .htaccess
file. Please delete .htaccess
file and try to login again. Then logged-in successfully.
After that, you can access your dashboard URL https://www.example.com/wp-admin.
Note: Now you need to change permalink from admin panel as:
Settings -> Permalinks
Change to plain and save it. After visiting then you reset it and .htaccess
file regenerate automatically.
Yes, Please remove it with backup.
– Gufran Hasan
Nov 13 '18 at 14:12
Please see this link fixrunner.com/cannot-login-wordpress-admin-area
– Gufran Hasan
Nov 13 '18 at 14:14
it doesn't work, i delete.htaccess
file from plublic_html/.htaccess, but nothing change, even when i login it redirect to example.com/user/<USERNAME>/?redirect_to=https://…
– Parth Nandaniya
Nov 13 '18 at 14:26
Okay, Have logged in and able to see adminpanel strip after loggin?
– Gufran Hasan
Nov 13 '18 at 14:30
1
i solve it by editing database, it's actually problem with users. so if you have this problem too, first of all delete all the users in database and create a new admin user then try to login in wp-admin, you will redirect to dashboard
– Parth Nandaniya
Nov 16 '18 at 10:26
|
show 4 more comments
It seems the problem in your .htaccess
file. Please delete .htaccess
file and try to login again. Then logged-in successfully.
After that, you can access your dashboard URL https://www.example.com/wp-admin.
Note: Now you need to change permalink from admin panel as:
Settings -> Permalinks
Change to plain and save it. After visiting then you reset it and .htaccess
file regenerate automatically.
Yes, Please remove it with backup.
– Gufran Hasan
Nov 13 '18 at 14:12
Please see this link fixrunner.com/cannot-login-wordpress-admin-area
– Gufran Hasan
Nov 13 '18 at 14:14
it doesn't work, i delete.htaccess
file from plublic_html/.htaccess, but nothing change, even when i login it redirect to example.com/user/<USERNAME>/?redirect_to=https://…
– Parth Nandaniya
Nov 13 '18 at 14:26
Okay, Have logged in and able to see adminpanel strip after loggin?
– Gufran Hasan
Nov 13 '18 at 14:30
1
i solve it by editing database, it's actually problem with users. so if you have this problem too, first of all delete all the users in database and create a new admin user then try to login in wp-admin, you will redirect to dashboard
– Parth Nandaniya
Nov 16 '18 at 10:26
|
show 4 more comments
It seems the problem in your .htaccess
file. Please delete .htaccess
file and try to login again. Then logged-in successfully.
After that, you can access your dashboard URL https://www.example.com/wp-admin.
Note: Now you need to change permalink from admin panel as:
Settings -> Permalinks
Change to plain and save it. After visiting then you reset it and .htaccess
file regenerate automatically.
It seems the problem in your .htaccess
file. Please delete .htaccess
file and try to login again. Then logged-in successfully.
After that, you can access your dashboard URL https://www.example.com/wp-admin.
Note: Now you need to change permalink from admin panel as:
Settings -> Permalinks
Change to plain and save it. After visiting then you reset it and .htaccess
file regenerate automatically.
answered Nov 13 '18 at 13:55
Gufran HasanGufran Hasan
3,54941426
3,54941426
Yes, Please remove it with backup.
– Gufran Hasan
Nov 13 '18 at 14:12
Please see this link fixrunner.com/cannot-login-wordpress-admin-area
– Gufran Hasan
Nov 13 '18 at 14:14
it doesn't work, i delete.htaccess
file from plublic_html/.htaccess, but nothing change, even when i login it redirect to example.com/user/<USERNAME>/?redirect_to=https://…
– Parth Nandaniya
Nov 13 '18 at 14:26
Okay, Have logged in and able to see adminpanel strip after loggin?
– Gufran Hasan
Nov 13 '18 at 14:30
1
i solve it by editing database, it's actually problem with users. so if you have this problem too, first of all delete all the users in database and create a new admin user then try to login in wp-admin, you will redirect to dashboard
– Parth Nandaniya
Nov 16 '18 at 10:26
|
show 4 more comments
Yes, Please remove it with backup.
– Gufran Hasan
Nov 13 '18 at 14:12
Please see this link fixrunner.com/cannot-login-wordpress-admin-area
– Gufran Hasan
Nov 13 '18 at 14:14
it doesn't work, i delete.htaccess
file from plublic_html/.htaccess, but nothing change, even when i login it redirect to example.com/user/<USERNAME>/?redirect_to=https://…
– Parth Nandaniya
Nov 13 '18 at 14:26
Okay, Have logged in and able to see adminpanel strip after loggin?
– Gufran Hasan
Nov 13 '18 at 14:30
1
i solve it by editing database, it's actually problem with users. so if you have this problem too, first of all delete all the users in database and create a new admin user then try to login in wp-admin, you will redirect to dashboard
– Parth Nandaniya
Nov 16 '18 at 10:26
Yes, Please remove it with backup.
– Gufran Hasan
Nov 13 '18 at 14:12
Yes, Please remove it with backup.
– Gufran Hasan
Nov 13 '18 at 14:12
Please see this link fixrunner.com/cannot-login-wordpress-admin-area
– Gufran Hasan
Nov 13 '18 at 14:14
Please see this link fixrunner.com/cannot-login-wordpress-admin-area
– Gufran Hasan
Nov 13 '18 at 14:14
it doesn't work, i delete
.htaccess
file from plublic_html/.htaccess, but nothing change, even when i login it redirect to example.com/user/<USERNAME>/?redirect_to=https://…– Parth Nandaniya
Nov 13 '18 at 14:26
it doesn't work, i delete
.htaccess
file from plublic_html/.htaccess, but nothing change, even when i login it redirect to example.com/user/<USERNAME>/?redirect_to=https://…– Parth Nandaniya
Nov 13 '18 at 14:26
Okay, Have logged in and able to see adminpanel strip after loggin?
– Gufran Hasan
Nov 13 '18 at 14:30
Okay, Have logged in and able to see adminpanel strip after loggin?
– Gufran Hasan
Nov 13 '18 at 14:30
1
1
i solve it by editing database, it's actually problem with users. so if you have this problem too, first of all delete all the users in database and create a new admin user then try to login in wp-admin, you will redirect to dashboard
– Parth Nandaniya
Nov 16 '18 at 10:26
i solve it by editing database, it's actually problem with users. so if you have this problem too, first of all delete all the users in database and create a new admin user then try to login in wp-admin, you will redirect to dashboard
– Parth Nandaniya
Nov 16 '18 at 10:26
|
show 4 more comments
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53282227%2fwp-admin-automatically-redirects-not-able-to-access-wordpress-dashboard%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
does your site has ssl
– Harshit_Raj
Nov 13 '18 at 13:42
try adding to define('FORCE_SSL_ADMIN', false); wp-config.php file
– Harshit_Raj
Nov 13 '18 at 13:49
yes it has ssl from cloudflare and it doesn't work by adding this line to wp-config.php file
– Parth Nandaniya
Nov 13 '18 at 14:11