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

I get 404 when I try to login ever since I changed the permalink

You can still get to your login page: http://wayfaroutadventures.com/blog/wp-login.php You probably haven’t done any serious damage.

Login to your site over FTP or using some file manager provided by your host and add:

define('WP_SITEURL', 'http://example.com/wordpress');
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/path/to/wordpress');

See:
http://codex.wordpress.org/Editing_wp-config.php#WordPress_address_.28URL.29

Of course, the addresses need to match exactly what you had before you changed things. That should get you operating again.

Reference:

http://codex.wordpress.org/Editing_wp-config.php#WordPress_address_.28URL.29

Related Posts:

  1. https to https problem – 404 and can’t login
  2. All pages gives 404 except homepage and wp-login
  3. In Django, how do I know the currently logged-in user?
  4. Can I programmatically login a user without a password?
  5. Can’t log in: “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”
  6. Is there any way to rename or hide wp-login.php?
  7. How to login with email only no username?
  8. How can I redirect user after entering wrong password?
  9. Increase of failed login attempts, brute force attacks? [closed]
  10. Login page ERROR: Cookies are blocked due to unexpected output
  11. Separate registration and login for different roles
  12. SSO / authentication integration with external ‘directory service’
  13. Preventing session timeout
  14. How reduce wordpress login session timeout time?
  15. How to prefill WordPress registration with social details
  16. Check for correct username on custom login form
  17. Disallow user from editing their own profile information
  18. I can’t access my site via wp-admin
  19. ‘Password field is empty’ error when using autofill in Chrome
  20. Removing username from the ‘wordpress_logged_in’ cookie
  21. How to show ‘login error’ and ‘lost password’ on my template page?
  22. What is $interim_login?
  23. Custom login form
  24. How to prefill the username/password fields on the login page
  25. wp_signon returns user, but the user is not logged in
  26. Adding extra authentication field in login page
  27. Prevent wp_login_form() from redirecting to wp-admin when there are errors
  28. Redirect user using the ‘wp_login_failed’ action hook if the error is ’empty_username’ or ’empty_password’
  29. wp_signon() does not authenticate user guidance needed
  30. What exactly is ReAuth?
  31. What are the differences between wp_users and wp_usermeta tables?
  32. Login members using web services
  33. Make my wordpress blog remember my login “forever”
  34. How to check in timber if user is loggedin?
  35. How do I change the language of only the login page?
  36. Disable WordPress 3.6 idle logout / login modal window / session expiration
  37. Stop WordPress from logging me out (need to keep me logged in)
  38. Woocommerce registration page [closed]
  39. How to disable autocomplete on the wp-login.php page
  40. Share login data/cookies between multiple installations
  41. Synchronize WordPress user accounts across multiple domains and installations without using WordPress MU
  42. How to pass users back and forth using session data?
  43. How do I change the logo on the login page?
  44. Why does WordPress hide the reset password key from the URL?
  45. Is it possible to sign in with user_email in WordPress?
  46. How to use current_user_can()?
  47. Avoid to load default WP styles in login screen
  48. WordPress registration message
  49. How to fake a WordPress login?
  50. how to display the wordpress login and register forms on a page?
  51. Does wp_logout_url() destroy a session? (Logging out question)
  52. How can I send a welcome email to a user AFTER they login for the first time?
  53. Can not login with correct username and password
  54. Website Visible only to Registered users
  55. How can i increase the login expiration length?
  56. How do I use add_action from a class method?
  57. How to remove the WordPress logo from login and register page?
  58. How can I add a custom script to footer of login page?
  59. Brute force attack?
  60. Customize wp_new_user_notification_email()
  61. Need to execute a cron job
  62. Login email after registration never sent or received
  63. How can I create a separate blog that is private?
  64. How to keep always logged in development environment
  65. Add Confirm Password field in wp-login.php Password Reset page
  66. Integrate recaptcha and wp_signon – what is needed?
  67. Stop users from logging in from multiple locations
  68. I want to disable E-Mail verifcation / activation when a user signs up for my WordPress site
  69. custom login page redirect to logged in user profile page
  70. Email address or username used to login in wordpress
  71. How do I check if a post is private?
  72. Front-end login: Redirect user to the post they had created
  73. Receiving “This content cannot be displayed in a frame” error on login page
  74. My login form does not work
  75. Programmatically log in a wordpress user
  76. Action wp_login_failed not working if only one field is filled out
  77. Getting “Cookies are blocked or not supported by your browser” on login page
  78. What is the purpose of logging out after WordPress upgrade?
  79. Is it alright for two people to simultaneously be logged into a WP site as administrator?
  80. wp-login.php redirecting to HTTPS
  81. Display last login time
  82. How to customise wp-login.php only for users who are setting a password for the first time?
  83. Intentionally Force Failed Login WordPress
  84. How do I turn off the ability to login?
  85. Gaining Login Access via the Database
  86. How can I test the login for an expired session?
  87. Give visitor access to password protected page/post via external script
  88. Send reset password link to user from custom lost password form
  89. What hooks should I use for pre-login and pre-registration actions?
  90. WordPress Login Footer URL
  91. Remove built in wordpress login and use only google auth
  92. Websites defaced by uploading script using theme editor
  93. wp_login action hook not working
  94. Make wordpress admin failed login attempt return 401
  95. Cookie settings for session across WPML subdomains using custom AJAX login
  96. How to translate “wrong password” message
  97. Login redirect_to loop with reauth=1, cookie expiry set to 1 year in past
  98. User Login Form Outside the Default wp-login Form
  99. Change sign-on URLs for security purposes
  100. Change Login Page for a Multisite Subsite
Categories login Tags 404-error, login
What’s the best way to show custom post types? With page template it’s not perfect!
permalink structure for single-{post-type}.php in wordpress

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
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 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