• Hi,
    I recently migrated the above site over from a GoDaddy Managed WordPress account, to a VPS. Since then I’ve had a lot of trouble logging in to wp-admin.
    The login details seems to work, but then I’m redirected back to the website front-end. When I go back to /wp-admin, I see the message ‘Sorry, you are not allowed to access this page.’ and a 403 error through the dev. tools. This isn’t something I’ve seen in WP before, and I’ve put many sites together for customers over the years.
    I thought it was a permissions issue, so I went and made sure that all folders are set to 0755 and files to 0644. I’ve tried all sorts of other solutions suggested in other forums including:
    WP_DEBUG: true – shows nothing
    Server error log – shows nothing
    De-activated all plugins – no change
    Checked table prefixes – all set to ‘wp_’
    Upgraded PHP to 7.0

    All to no avail. I’m now at a complete loss.
    Please can someone help – perhaps one of the WP team could reply to me please?

    Thanks in advance,
    Kelly

    • This topic was modified 6 years, 9 months ago by kellyteagle.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, @kellyteagle.

    Thanks for posting your issue in detail.

    Are you using custom settings in your .htaccess file? Or better yet: Does any of your plugins alter .htaccess file to a custom level?

    I’d suggest you backup your .htaccess file and try using the basic WordPress .htaccess setup.

    How did you migrate the site? Does your backup/restore process change the URLs in the DB?

    You may need to use a search/replace script to scour db and change urls.

    Thread Starter kellyteagle

    (@kellyteagle)

    Hi,
    Thanks for your replies.
    Juan2machado: no I’m not using any custom settings. I’m unsure whether the plugins have their own htaccess files, but I’ll check.

    HudsonValleyWebDesign: I migrated the site as I normally do, that is, I backed up the files to a ZIP and downloaded it. I exported the database to an SQL file, and ran a search and replace to correct the URL. I then imported the database to the new server, and extracted the contents of the ZIP file into the root (publichtml in this case).
    I’ve done nothing differently to my normal process, the only difference here is that the site has come from a Managed WordPress hosting account with GoDaddy, to a GoDaddy VPS.

    Thanks,
    Kelly

    Make sure the file permissions are set correctly https://codex.www.ads-software.com/Changing_File_Permissions

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unable to log into /wp-admin after migration’ is closed to new replies.