Question
WP admin not found 404 error
Hi,
From today onwards I am unable to access my www.technicalnotes.org/wp-admin page. Whenever I try to access it, it shows not found 404 page. It’s been a year and it was working fine with www until today.
I have set a permanent redirect to www, so that even the non-www version gets redirected to www version of the website using ht.access.
While looking for a solution, I remove the code
RewriteCond %{HTTPHOST} ^technicalnotes.org$ [NC]
RewriteRule ^.*$ http://www.technicalnotes.org%{REQUESTURI} [R=301,L]
From my .htaccess file.
After this, if I visit technicalnotes.org/wp-admin I am able to see the login page. But, if I use www.technicalnotes.org/wp-admin, the login page shows 404 not found error.
I am unable to find what’s exactly stopping it from showing login page if I visit www version of the website.
Any help on how to resolve this would be appreciated.
Things I have tried:
Changing the theme
Deactivating all the plugins
changing permission for WP-admin and WP-content to 755
Nothing works.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×