getting not found message on wp-admin page

Hi,
I'm getting a not found message on the wp-admin page for a client site.
http://aficreditsolutions.com/wp-admin

  • Ash

    Hello cornelius_butler

    This is a htaccess issue. If this is a single site, please put the following as htaccess:

    # 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

    For subfolder based multisite:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    For subdomain based multisite:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    So, please add the htaccess based on the category of the site and it should be okay :slight_smile:

    Have a nice day!

    Cheers,
    Ash

  • cornelius_butler

    Thisi s what their host said about adding the code to the .htaccess file for the site.

    The .htaccess file under aficreditsolutions.com. Before we are able to do so there are some things to make note of. The first being at the moment there is not .htaccess file. Currently the .htaccess file has been renamed to .htaccess.tempdisable. In order for any changes made to that file to work correctly you will need to first rename that file to .htaccess. Secondly, the page you have provided has multiple "codes" mentioned. If you would like us to add any of them to the .htaccess as requested could you please tell us specifically which "code" you want added to the file?

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.