Home>

I tried to launch a new site with Wordpress version 5.5, but I got a 404 error on the admin screen. In addition, a 403 error has occurred on the top page.

After investigating, it turned out that there was a problem with the permalink setting and .htccess, but the permalink setting cannot be handled because the WordPress management screen does not appear.

I would like to resolve the error, so please teach me.

error contents
·Management screen
Not found
The requested URL was not found on this server.

In addition, I got a 404 Not Found error when trying to process a request using ErrorDocument.

·top page
Ban
You do not have permission to access this resource.

In addition, I got a 403 Forbidden error when trying to process a request using ErrorDocument.

● What I tried
** .htaccess edit
SetEnvIf Request_URI ". *" Ngx_Cache_NoCacheMode = off
SetEnvIf Request_URI ". *" Ngx_Cache_StaticMode

BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^ index \ .php $-[L]
RewriteCond% {REQUEST_FILENAME}! -f
RewriteCond% {REQUEST_FILENAME}! -d
RewriteRule. /index.php [L]

END WordPress
I confirmed.

・ Reinstall WordPress
The situation was the same when I installed WordPress once in the same domain, so I reinstalled WordPress today after about 60 hours.

Tool version etc.
WordPress version 5.5
PHP7 version 7.4.4, 7.3.16, 7.2.29, 7.1.33, 7.0.33
PHP5 version 5.6.40, 5.5.38, 5.4.16, 5.3.3, 5.1.6
MySQL version 5.7.x
Perl version 5.16
Domain name.com
Server xserver

Thanks for your cooperation.

  • Answer # 1

    If you can't access WordPress right after installation on the X server,
    The security of the X server itself may be affected.

    There should be a setting called "Access restrictions for foreign IP addresses", so why not turn it off once?

    By the way, even if you have a domestic IP address (access from within Japan), you may be caught in this access restriction.