Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

https to https problem – 404 and can’t login

The wordpress database is still holding some data (post content, image urls etc) in it’s database.

You need to go into your database and change the url references to the non-ssl as well. I suggest NOT doing this through phpmyadmin though as it will cause some problems.

Go get this tool: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

Upload the contents of the zipped file into a new directory in your www/ folder. (I usually rename the search and replace folder to SRDB.)
Now navigate to your site with the SRDB at the end. (www.example.com/SRDB)and the top two lines you’ll see a search field and a replace field. (if you get a db connection error here, double check the wp-config to ensure that it has the right credentials).

In the search place your old site address with ssl: https://www.example.com
in the replace field place your new url without ssl http://www.example.com/
hit live live run.
ONLY do this after ensuring you’re on your new url and that it’s loaded into your new database AND you’ve backed up your db just in case.
This should fix your problems!

Related Posts:

  1. Chrome 83 doesn’t connect WP login page after update from http to https on localhost
  2. Why is WordPress redirecting from http to https on a local environment?
  3. Programmatically log in a wordpress user
  4. Upgrade to SSL Breaks Admin Dashboard
  5. Divert http to https with WordPress on IIS
  6. Can’t login to Dashboard when changing site URL to HTTPS
  7. 403 error on admin login page
  8. Can’t login to WordPress without hitting the Remember Me checkbox. Potential SSL implementation bi-product
  9. Permalinks 404 error with HTTPS host
  10. Allow non-SSL pages to use https or Force non-SSL pages to http?
  11. Forcing SSL login, have to log in again from WP/BP-Admin Bar
  12. All content is HTTPS, but browsers warn of HTTP mixed content [closed]
  13. Changed the url into https and now can’t access site admin
  14. My site doesn’t redirect from HTTP to HTTPS
  15. I renamed my server from http to https and now I can’t login
  16. WordPress SSL not working [closed]
  17. Trouble when I try to connect to WordPress
  18. Website Migration (with https) to a new domain(http)
  19. Why does WordPress uses HTTPS for JS, CSS on EC2
  20. Specific Page/Post Need to Stay Non SSL
  21. All pages gives 404 except homepage and wp-login
  22. Since moving HTTPS using cloudflare, the admin and login pages no longer work
  23. Can’t login to wordpress, got ERR_EMPTY_RESPONSE after a few minutes
  24. Implications of not completing all tasks when switching to HTTPS
  25. How to convert multisite subdomain from http to https
  26. 404 Page not found error after adding ‘s’ in ‘http’ in Settings
  27. https images not displaying
  28. Moving site from HTTP to HTTPS
  29. How to switch static files back to using HTTP instead of HTTPS?
  30. Chrome incorrectly displaying WP login as ‘not fully secure’
  31. Login problem with https
  32. Changed from HTTP to HTTP, can login no longer login
  33. WordPress keeps redirecting to an unsecure connection?
  34. WordPress logs out on protocol switch
  35. WordPress Login / SSL = Code Question
  36. Not logged in when using http
  37. Any idea on how to fix this error when forcing SSL on a certain page?
  38. I get 404 when I try to login ever since I changed the permalink
  39. The plain HTTP request was sent to HTTPS port in wordpress [closed]
  40. Is it bad to redirect http to https?
  41. Changing my URL in General Settings cause the site to crash
  42. How to force HTTP and stop SSL completey on WordPress website
  43. SSL Error: unable to get local issuer certificate
  44. How to redirect all HTTP requests to HTTPS
  45. https connection using CURL from command line
  46. @ converted to %40 in HTTPPost request
  47. Curl command for https ( SSL )
  48. nodejs – error self signed certificate in certificate chain
  49. Custom Tumblr theme wont save because of non-https urls?
  50. Simple Java HTTPS server
  51. HTTPS connection Python
  52. Java: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  53. In Django, how do I know the currently logged-in user?
  54. How do you redirect HTTPS to HTTP?
  55. Could not establish secure channel for SSL/TLS with authority ‘*’
  56. Getting “Handshake failed…unexpected packet format” when using WebClient.UploadFile() with “https” when the server has a valid SSL certificate
  57. ndroid 8: Cleartext HTTP traffic not permitted
  58. Python requests SSL error – certificate verify failed
  59. Why am I suddenly getting a “Blocked loading mixed active content” issue in Firefox?
  60. Https to http redirect using htaccess
  61. How can I force users to access my page over HTTPS instead of HTTP?
  62. How to force Laravel Project to use HTTPS for all routes?
  63. How can I fix the “No certificates found – The app Chrome has requested a certificate” Android / Google Chrome issue
  64. Issues with installing python libraries on Windows : CondaHTTPError: HTTP 000 CONNECTION FAILED for url
  65. Can I programmatically login a user without a password?
  66. Can’t log in: “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”
  67. Is there any way to rename or hide wp-login.php?
  68. How to login with email only no username?
  69. How can I redirect user after entering wrong password?
  70. SSL Breaks WordPress CSS
  71. Increase of failed login attempts, brute force attacks? [closed]
  72. Setting $_SERVER[‘HTTPS’]=’on’ prevents access to wp-admin
  73. Login page ERROR: Cookies are blocked due to unexpected output
  74. Separate registration and login for different roles
  75. SSO / authentication integration with external ‘directory service’
  76. Preventing session timeout
  77. Disable SSL / HTTPS for wordpress
  78. How reduce wordpress login session timeout time?
  79. How to prefill WordPress registration with social details
  80. Check for correct username on custom login form
  81. Switching MultiSite installation from HTTP to HTTPS
  82. Disallow user from editing their own profile information
  83. I can’t access my site via wp-admin
  84. ‘Password field is empty’ error when using autofill in Chrome
  85. Removing username from the ‘wordpress_logged_in’ cookie
  86. How to show ‘login error’ and ‘lost password’ on my template page?
  87. What is $interim_login?
  88. Custom login form
  89. How to prefill the username/password fields on the login page
  90. wp_signon returns user, but the user is not logged in
  91. Switch from https back to http
  92. Adding extra authentication field in login page
  93. Prevent wp_login_form() from redirecting to wp-admin when there are errors
  94. Chrome Version 44.0.2403.89 m is trying to force HTTPS
  95. Redirect user using the ‘wp_login_failed’ action hook if the error is ’empty_username’ or ’empty_password’
  96. wp_signon() does not authenticate user guidance needed
  97. What exactly is ReAuth?
  98. What are the differences between wp_users and wp_usermeta tables?
  99. Login members using web services
  100. Is there a way to force ssl on certain pages
Categories login Tags 404-error, http, https, login, ssl
How to properly add my styles overriding current styles
Dynamic pages for linked categories and content

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress