Hi @heyfoodisready
I faced this issue as well, the first time I installed WordPress in C-Panel from my hosting service.
Each time I tried to login into Wp-admin, I got the home page. For me to get to site admin, I had to login into my C-Panel, and get into Edit Site, in the WordPress section. It worked. however, it got too cumbersome to go through this process.
There are various solutions to this.
A.What worked for me, installing a fresh version of WordPress from C-panel. (After I reinstalled the WordPress, I had to re-create my website, so you may want to take a backup of your website data if you’re going this option)
B. Another method you could try is clearing your cache and cookies from your web browser and retry logging in. It may work.
If the above doesn’t work.
C. Then you may need to restore the default .htaccess file.
what you need to do is
1. Access your website’s root folder (public_html) using an FTP or a File Manager. You can find the File Manager under the Files section of your or cPanel
2. Locate the .htaccess file, then delete it. Alternatively, you can disable it by renaming the file to something else.
3. Create a new .htaccess file for your WordPress site
To create a new .htaccess file
1. Navigate to Files -> File Manager.
2. Go to the public_html folder and click the New File icon at the top of the page. Then, name the file “.htaccess”.
3. Open the new WordPress .htaccess file and paste the following code:
# 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
4.Hit Save & Close. and retry loggin in.
and if this does not work as well.
D. Deactivate Plugins
1.Access your website’s wp-content directory using an FTP or a File Manager.
2. Rename the plugins folder to something else to deactivate all plugins. If this action solves the issue, that means you have a corrupted plugin
3. Change the plugins folder to its original name. This way, WordPress can reaccess your plugins, but all of them are still inactive.
4.Login to your WordPress dashboard and head over to Plugins -> Installed Plugins. Activate all plugins one by one till you find the issue
Hope this resolves your issue
-
This reply was modified 3 years, 4 months ago by Adrian Taites.
-
This reply was modified 3 years, 4 months ago by Yui. Reason: formatting