You don’t need a rewrite rule in .htaccess to add www back in. Remove the rewrite rule, remove all the defines in wp-config and try to login. If that doesn’t work, delete permalinks in .htaccess to force them back to default.
After you’re in, add the www in Dashboard>>Settings and save. Then reset permalinks.
Related Posts:
- My wordpress site gets redirected automatically to the old site any known solution for this?
- WordPress Error establishing a database connection For Admin login only
- How to change how long items are kept in the trash?
- WordPress (behind HAProxy and Jetty), not multisite, in sub folder – and /en/wp-admin/ keeps redirecting to /wp-admin/
- 404 redirect wp-login and wp-admin after changing login url [closed]
- new subdomain to apply as main domain
- Cookie Domain is preventing Admin login
- unsuccessful attempt to change domains- wordpress re-routing to old domain
- Use of domain name
- Why when I try to access to this old WordPress site it is opened the installation page?
- Registering for a domain on WordPress
- Run two wordpress on the same domain
- Could not override the url in wp-config file
- How to access wp-admin from original website after setting the domain redirect/forwarding
- WP-Admin throws 404 after changing wp-config Salts
- wp-config.php not affecting my site
- WordPress Redirects to a cancelled domain, need to change it but can’t get to the admin portal
- Reestablishing Automatic and Secure FTP Connection, Primary Domain Change
- Error establishing a database connection – after updating DNS
- No wp-admin, wp-config, or .htaccess folder/file
- Site admin can login but cannot access wp-admin after domain migration?
- Changing Admin Menu Labels
- Is there ANY way to remove comments function and section totally?
- How to display a static HTML page while setting up a WordPress site?
- How can I uninstall a language?
- Best way to present options for home page in admin?
- How to add a custom metabox to the Menu Management admin screen?
- How to make ajax call in wordpress in right way?
- Delete Post From front Page ( With Wp-admin restriction )
- Add column to pages table
- How to get the password and username of the add new user form (admin back end) in wordpress
- Change the Return URL from the Customizer
- Where can I edit Admin Panel Page file
- Image editing: “Edit Original” and “Replace” buttons missing on old posts
- Replace wordpress login logo with custom text
- Failed to load resource admin-ajax.php
- Custom WordPress Dashboard for Specific user role
- Why are my frontend theme styles bleeding into the backend?
- Execute script only on certain admin pages
- Where are the admin notifications stored?
- How to sort comments in the “edit-comments.php” table based on a comment meta field?
- I set wp_set_auth_cookie but wp_validate_auth_cookie returns false
- Why do I keep losing links when I switch to visual editor in WordPress
- How To Reset Ownership And Permissions of Wp-Content Folder, In Order to Fix HTTP Error When Uploading Images to WordPress Media Library
- New wordpress install, what are the reasons the “Install Themes” tab is missing?
- Customise WordPress Update Notice in wp-admin backend area
- Post Bulk Update
- wp_comments table really big casuing /wp-admin/edit-comments.php to slowly load
- I get a 404 page on /wp-admin but not wp-login but as soon as I login I get a 404 again [closed]
- I want to disable login of admin (/wp-admin) with email and make it accessible only with username
- password reset link being sent as HTTP?
- sort tags by tag ID in admin panel
- Restrict Author role to only 3 wp-admin pages
- Post.php is blocked by server? How to unblock? [closed]
- How to fix ‘WordPress redirection loop problem in wp-login.php page’?
- WP-Admin shows (1) update but there is no update for plugin, theme or WordPress
- Do I have to face security problems if I changing default role to Contributor
- wp-admin remove part of the url
- wp-admin 302 redirects
- WP admin user search doesn’t return all users
- Alternatives to DISALLOW_FILE_EDIT wp-config Constant? It Breaks Some Plugins
- How to use underscore.js in WordPress Admin
- Detect Featured Image remove while editing post in wp-admin (client-side)
- Cannot log in to the admin, no error message [closed]
- Need help for WordPress User Session Management?
- meta box on new admin page
- Create reviews and star-rating for user accounts in wp-admin [closed]
- Disable Admin CP authentication (or auto login)
- can’t access backend while frontend works perfect
- Admin top level menu, pointing to an external url
- Change of IP Address
- How to change home page only in WordPress
- User Roles: How to hide a plugin from showing in WP-Admin?
- Too Many Redirects – WP-Admin Only
- WordPress admin section appears broken
- Pages section (only) not loading after publishing large number of pages
- Wp-admin widgets have no title texts
- How to create directory under my active theme directory
- wp-admin 503 error
- Admin Page access
- On Users (user.php) in wp-admin disable/hide “Bulk Actions” and “Change Role To”
- Add HTML to custom post type edit page
- WP site after login keeps redirecting to looped url [closed]
- Locked out of site admin after change of URL
- Login issue with subdomain installs
- Redirect from wp-admin back to page
- How can I can I make changes to a WP project I pulled from GItHub?
- Edit “Not Available” Page
- admin-ajax and external service interaction
- Add admin page to the top of the admin panel
- Admin page changes the $_POST data
- site identity will not update [closed]
- str_replace in wp-admin
- Admin area is not loading properly
- Using meta_query in add_query_arg
- Is it possible to change the images source that are shown in the admin side?
- Using query string on edit CPT page
- All of my WordPress sites have Bold Open Sans
- Change URL when visiting wordpress site
- WordPress Localhost migration issue