first of all you shouldnt delete .htaccess file. create another one in the root directory and add following lines to it:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
then go to wp-config.php and add these lines:
define( 'WP_HOME', 'http://youresite.com' ); define( 'WP_SITEURL', 'http://youresite.com' );
now go to wp-admin and hopefully youre redirect problem will be fixed.
dont forget to remove last code from wp-config after fixing youre issue.
Related Posts:
- Admin Page Redirect
- Trying to login to my site redirects me to the first page
- Why when I click on a link into the WP admin panel I am redirected to a link that doesn’t contains wp-admin prefix, so I obtain 404 error
- Organizing Code in your WordPress Theme's functions.php File?
- “Too many redirects” ONLY when trying to access wp-admin page
- Disable dragging of meta boxes?
- Unable to login and wp-login.php redirects to wp-admin%2F&reauth=1?
- How to remove screen options and help links in the admin area?
- Sort admin menu items
- Custom column for changing post status via ajax
- Make fonts.com font work in TinyMCE (iframe referrer issue)
- Wrong canonical link on wp-admin pages
- stop redirection on /wp-admin call to /wp-login
- wp-admin produces a 302 redirect to itself
- How to remove items from +New admin menu?
- Users are redirected to homepage instead of wp-admin
- Make sub menu items a main link in the admin menu using fuctions.php
- Add column to pages table
- Admin account only shows Profile and Dashboard with no activity
- Can initial focus be set to search field in WordPress Media Library?
- Unwanted redirect in admin area
- wp-admin – save options without refreshing?
- Login to wp-admin “redirect_to” points to wrong URL after migration
- wp-login.php — redirect logged in users to custom URL
- Can’t access wp-admin Internal Server Error 500
- Can’t access admin dashboard with wp-admin without /index.php after it
- How do you modify CSS files via admin panel?
- How to prevent parent admin page from appearring as a child admin page
- Change Dashboard url
- WordPress subdomain wp-admin redirects to main domain
- how to redirect to url.com/wp-admin if url.com/admin is typed in?
- Change the Default Pages Menu View in wp-admin
- Change WP-Login or WP-Admin
- SSL Partially breaking admin panel and elementor
- Why is there an intermediate redirect to https://public-url.org/wp-admin?
- Prevent /wp-admin/ from redirecting to homepage?
- What is the practical difference between is_admin() and is_blog_admin()?
- How do I set the homepage to the WordPress Admin Dashboard login?
- Create a admin page in wordpress without admin menus (“wordpress sidebars”)
- How to hide wordpress default description box?
- https://mydomain/wp-admin redirects to wp-login.php?redirect_to=https%3A%2F%2Fmydomain%2Fwp-admin%2F&reauth=1
- Redirect non-admin users away from wp-admin/index.php (main dashboard page) to wp-admin/profile.php
- I want to disable login of admin (/wp-admin) with email and make it accessible only with username
- Allow administrators to pick post author on custom post type edit screen
- How to make the front-end RTL without changing the admin panel language?
- WordPress (behind HAProxy and Jetty), not multisite, in sub folder – and /en/wp-admin/ keeps redirecting to /wp-admin/
- Add column to pages table
- Created a new subdomain with same content. Should I add a redirect in my old subdomain?
- wp-admin – 404 after custom login form
- How to fix ‘WordPress redirection loop problem in wp-login.php page’?
- What are the requirements to make the admin toolbar show up on the front end
- Remove bulk option row
- wp-admin 302 redirects
- Too many redirects after added SSL redirect on port 80 virtual host
- Redirect from the dashboard to edit.php if wp_is_mobile() is true
- How to replace “Password Protected” text with icon in Admin
- Hooks: admin_footer and admin_print_footer_scripts not working?
- What is the correct way to get only display plugin for Administrator Only
- Admin top level menu, pointing to an external url
- Browse Happy in 3.2
- How to break line / add to ADMIN menu
- Unable to properly login
- Restrict access to admin-post.php
- External HTTP API calls slowing down WordPress admin [closed]
- Outputting something based on the presence of post variable in admin screens
- Creating custom admin panel pages without making a plugin?
- Dashboard : remove Safari navigator message
- Available resources for learning WordPress 4.7.2 from the ground up?
- Redirect an entire WordPress site on a subdomain, except wp-admin
- Admin sometimes redirects to HTTPS
- Too Many Redirects – WP-Admin Only
- WP Admin Login keeps redirecting to login
- Uncaught SyntaxError: Unexpected Token Illegal
- CPU overload spam – redirect link to wp-admin and new post
- Newly created user role not displaying on users screen
- WordPress Admin extremely slow when other admin logged in
- How to access wp-admin from original website after setting the domain redirect/forwarding
- WordPress /wp-admin redirect to wrong port in docker
- WordPress Admin Panel Left Sidebar No showing on Post create page
- Login redirect_to url is pointing to a url with the port
- Accessing wordpress tool in local MAMP Site
- Redirect from wp-admin back to page
- Can’t access WP-Admin via HTTPS
- Wp-admin Redirection loop after moving to subdirectory
- How to remove Google fonts from wp-admin (Roboto) added by core
- Avoid executing a function (redirect) if I’m in the admin area
- stop customize.php redirect to login page if admin is not logged in
- Admin Login Checks
- Failed to load resource: the server responded with a status of 431 ()
- wp-admin redirects to standard wordpress page
- When installing wordpress through WP CLI mysite.com/admin not working
- I cannot go to http://novathon.cloud.reply.eu/wp-admin – always redirected to /wp-login
- Trying to list user and post information from (wp_includes/post.php ) causes Fatal error
- Unable to log in as admin
- Localhost install: Administrator lost administrator access; cannot access Dashboard
- Random HTTPs redirections at admin area in shared hosting
- issue in wordpress auto delete post and redirect to another 1
- Pages redirect me to the homepage
- Admin Login page not working at all
- How can visitors redirect wp-admin to the homepage?