The error {"error":"not found"} indicates that your WordPress page isn’t rendering properly, possibly due to:
Permalinks Issue • Go to Settings → Permalinks in your WordPress admin panel. • Click Save Changes (even without making changes) to refresh the permalink structure. • Now try accessing mysite.com/login again.
Page Slug Conflict • Ensure there’s no conflict with the /login slug. WordPress might be clashing with a system page or plugin route. • Try renaming the page slug to something like /custom-login and check again.
Theme Issue • Switch to a default WordPress theme like Twenty Twenty-Four to see if the issue is theme-related. • If this resolves the issue, your theme may have a custom route or filter affecting the /login page.
Plugin Conflict • Although you mentioned disabling/enabling plugins, try these steps: • Deactivate all plugins. • Access the /login page. • If it works, activate plugins one by one to identify the conflicting one.
Page Content Issue • Edit the Login page and ensure it has proper content. Sometimes an empty page or broken shortcode can cause issues.
.htaccess Issue • Go to your WordPress root directory and open the .htaccess file. • Ensure it includes WordPress’s default rules:
RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]
If missing, add these rules and save the file.
Caching Issue • Clear your website cache (if you’re using a caching plugin). • Also, clear your browser cache or test in Incognito Mode.
Endpoint Conflict
If you’re using WooCommerce or any security plugin, they may override /login. In this case: • Check for settings that define custom login URLs.