skip to Main Content

pages are redirecting to home page because of yoast seo and also I’m not able to access my dashboard because the wp-admin link is also redirecting to home page

I tried it by log in through cPanel but same issue it redirects to home page

2

Answers


  1. You can simply deactivate the youst plugin and check if issue resolved. In case if you are not able to access the plugins page, what you can do is that

    1. Delete yoast plugin directory after logging into cpanel
    2. Deactivate the plugin using in database.

    If you are deactivating the plugin using database i recommend to disable all plugins by going to phpmyadmin _options(wp_options by default) and change the value of active_plugins field autoload column to no.

    Now check if your issue resolves.

    Login or Signup to reply.
    1. Clear your browser cache: Sometimes, cached files can cause redirects.

    2. Disable Yoast SEO plugin: If the issue is related to the Yoast SEO plugin, try disabling it temporarily to see if the redirects stop.

    3. Check your WordPress settings: Log in to your WordPress dashboard by appending "/wp-login.php" to your website URL (e.g., http://www.yourwebsite.com/wp-login.php). Once logged in, navigate to "Settings" > "General" and ensure that both the "WordPress Address (URL)" and "Site Address (URL)" fields are set correctly. They should match your website’s domain.

    4. Check your .htaccess file: The .htaccess file controls how URLs are handled by your server. It is possible that there are incorrect rules in this file causing the redirects.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search