This is a little problem I ran into today and so, of course, I thought I would share it with you. I had a blog post that I renamed and changed the slug because I had a better article which I wanted the slug for. The problem I ran into was that my old post suddenly was redirecting to my new URL. So here is what happened. While this is cool and dandy, it also can cause frustration because there is no way to see this from the WordPress dashboard. Login to your database via phpMyAdmin.
wp-admin still redirects to the old site after updating wp_options?
It only takes a minute to sign up. Connect and share knowledge within a single location that is structured and easy to search. Then again I attempted to login and this time I was successful. Then I changed both the URLs from settings in the admin panel. After this you must to delete all your browser cache files to delete any kind of persistent redirection.
Solution: Change Site URL in Database
A critical step is to update the database to reflect the new domain. It happens very rarely so I have yet to discover the cause. If you ever find yourself in this situation, the best workaround is to add the following two constants in wp-config.
It is a common WordPress error that may be caused by a plugin or incorrect settings. However, it leaves users locked out of their WordPress websites which makes it particularly troublesome. We will also cover how to regain access to your website and troubleshoot the error. Similarly, many popular WordPress plugins use this feature to set up temporary redirects, permanent redirects , and for fixing the errors. If you are using a plugin to fix the SSL insecure content issue or a WordPress caching plugin , then they may also affect redirects and cause this error. We will walk you through step-by-step troubleshooting, getting access to your WordPress site, and fixing the error from reoccurring. A common cause of the error could be your web browser cookies. Try accessing your website using a different web browser like Firefox, Safari, Opera, Microsoft Edge, etc. If you are able to access your website normally using a different browser, then you need to clear browser cookies and cache on your regular browser.