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
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
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
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.
Clear your browser cache: Sometimes, cached files can cause redirects.
Disable Yoast SEO plugin: If the issue is related to the Yoast SEO plugin, try disabling it temporarily to see if the redirects stop.
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.
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.