• Resolved roomescapertr

    (@roomescapertr)


    Hello People;

    I’m having the famous issue but so far i couldn’t find a solution.

    When i try to access my dashboard, it lands on a 404 not found page of the theme.

    Using 4.4.2

    So far i’ve tried following to solve :

    -Deleting .htaccess
    -Adding some codes in .htaccess
    -Disabling all plugins
    -Disabling theme
    -Uploading wp-login.php again…
    -Changing my hosting provider (It was happening already in the old hosting, backed up and restored in the new one, still same)

    If you guys have found a solution for this issue, please let me know.

    This is how my .htaccess

    <IfModule mod_alias.c>
    
    RedirectMatch 403 /wp-login.php
    
    </IfModule>
    
    # 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

    Thanks in advance..

Viewing 9 replies - 1 through 9 (of 9 total)
  • What is the URL to your site?

    Thread Starter roomescapertr

    (@roomescapertr)

    delete this line

    RedirectMatch 403 /wp-login.php

    Hi @roomescapertr, if you still have issues try to update the URL in your database.

    If you still get the same error, try this:

    Via your FTP change wp-admin folder permission to 755, same thing for your wp-content and wp-includes then clear your cache and refresh.

    Thread Starter roomescapertr

    (@roomescapertr)

    Thanks, deleting that line worked for me.

    I have the same problem for a new installed WordPress Lensesview – on Siteground. I have checked the permissions to wp-admin and wp-content = 755

    here is my .httacess

    # 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
    # compress text, html, javascript, css, xml:
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddType x-font/otf .otf
    AddType x-font/ttf .ttf
    AddType x-font/eot .eot
    AddType x-font/woff .woff
    AddType image/x-icon .ico
    AddType image/png .png
    </IfModule>

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg “access 1 year”
    ExpiresByType image/jpeg “access 1 year”
    ExpiresByType image/gif “access 1 year”
    ExpiresByType image/png “access 1 year”
    ExpiresByType text/css “access 1 month”
    ExpiresByType application/pdf “access 1 month”
    ExpiresByType text/x-javascript “access 1 month”
    ExpiresByType application/x-shockwave-flash “access 1 month”
    ExpiresByType image/x-icon “access 1 year”
    </IfModule>
    ## EXPIRES CACHING ##
    AddHandler application/x-httpd-php56 .php .php5 .php4 .php3 .php2

    @funashi – My name is Ivan Atanasov, part of the Senior Technical Support team at SiteGround.

    After checking your website, I can confirm that the WordPress login page is working on my end when accessing it with wp-login.php. The website is performing as intended I believe.

    Thanks Ivan, I know we have chatted before from Siteground. It was rectified from Siteground support chat. I didn’t get the chat transcript to benefit from the solution. But this particular installation was done through https as the default. I think thats the area she worked on

    • This reply was modified 7 years, 9 months ago by funashi.

    Hi there i have the same problem, can anyone help me

    my .htaccess

    Options -Indexes

    ErrorDocument 404
    # BEGIN W3TC Browser Cache
    <IfModule mod_deflate.c>
    <IfModule mod_headers.c>
    Header append Vary User-Agent env=!dont-vary
    </IfModule>
    AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
    <IfModule mod_mime.c>
    # DEFLATE by extension
    AddOutputFilter DEFLATE js css htm html xml
    </IfModule>
    </IfModule>
    # END W3TC Browser Cache
    # BEGIN WordPress
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg “access plus 1 year”
    ExpiresByType image/jpeg “access plus 1 year”
    ExpiresByType image/gif “access plus 1 year”
    ExpiresByType image/png “access plus 1 year”
    ExpiresByType text/css “access plus 1 month”
    ExpiresByType application/pdf “access plus 1 month”
    ExpiresByType text/javascript “access plus 1 month”
    ExpiresByType image/x-icon “access plus 1 year”
    ExpiresDefault “access plus 1 weeks”
    </IfModule>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^/wp-content/endurance-page-cache/ – [L]
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP_COOKIE} !(wordpress_test_cookie|comment_author|wp\-postpass|wordpress_logged_in|wptouch_switch_toggle|wp_woocommerce_session_) [NC]
    RewriteCond %{DOCUMENT_ROOT}/wp-content/endurance-page-cache/$1/_index.html -f
    RewriteRule ^(.*)$ /wp-content/endurance-page-cache/$1/_index.html [L]
    </IfModule>
    <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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Wp-Admin/Wp-login.php 404 Not Found’ is closed to new replies.