• i have a problem with my wordpress. i had a wordpress site but it was very much uptodate so it got hacked. it was down for 3 days, it didnt responded anymore. i have set some custom html now on it and took the wordpress part in a localhost to look to get it up. i contacted someone that managed to get it updated tot 4.4.2 but we still cant see anything. if we go to the site it says it has a 404 error in the template i had for it. but now i cant go into anything. i cant even go into the wp-admin. wich is where i realy want because if i can get there i can make it work again. but it only shows that there is a 404 error and that somethimes i can see that is is missing the index.php but i have checked and it is still there in the folder. i have no idea please help!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • InterServer

    (@interservernet-web-hosting)

    Please check if the index.php file exists in the root directory of the domain. If exists, check if the file has correct permission which is 644. Also if .htaccess file does not exists in the root directory of the website, please create a new .htaccess file with the following contents.

    # 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

    You can also refer the following WordPress documentation to get more information.

    https://codex.wordpress.org/htaccess

    Thread Starter killmonkey2pro

    (@killmonkey2pro)

    hey thanks man, it is to bad that i have all these things this way. i realy hoped that this was the solution. now my boss is going to call someone in. if he finds what was wrong i will post it her.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘404 error and no wp-admin’ is closed to new replies.