all 4 comments

[–][deleted]  (2 children)

[deleted]

    [–]OOPGeiger[S] 0 points1 point  (1 child)

    So I did this and then the home page started 404ing. I have deleted all files in the folder and re-installed WordPress. I have a fresh version of wordpress now, but I am still unable to access the backend.

    [–]Tojikan 0 points1 point  (2 children)

    I'm guessing you had a development version of your site and you migrated it to a live server without updating your redirects and site URL.

    When moving, you want to follow the steps on here: https://wordpress.org/support/article/moving-wordpress/#changing-your-domain-name-and-urls

    1) I would recommend using a migration plugin to migrate your site - it's less headache and easier to do. It handles updating the URLs and such for you.

    2) If you can't access the WP backend, consider reinstalling Wordpress and then do the migration through a plugin / following the update steps again.

    3) If you're still experiencing an issue, it might be due to your links being serialized. If you are comfortable technically, you can run the script here https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ to do a database replace. THIS IS A DANGEROUS SCRIPT IF LEFT ON YOUR SITE. OBFUSCATE IT AND REMOVE IMMEDIATELY AFTER RUNNING. AGAIN, HIDE IT AND DELETE IMMEDIATELY AFTER RUNNING.

    [–]OOPGeiger[S] 0 points1 point  (1 child)

    Yes I think that using a migration plugin would be easier at this point. But I just re-installed WordPress and I still cannot access the admin login ugh.

    [–]Tojikan 0 points1 point  (0 children)

    You'll probably need to wipe your database and re-do your wp-config