• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Wordpress new pages return 403 error - served with nginx

ido

New Pleskian
Hey, Just finished setting up my server.
But when I create new website with wordpress and create a new page when I view it it returns
Server Error
403
Forbidden
what am I missing?
The permalink setting is set to post name
and even when I use the default unlimited service plan I still get this error
in the security check
* Forbid execution of PHP scripts in the wp-includes directory
(can be reverted)
* Forbid execution of PHP scripts in the wp-content/uploads directory
(can be reverted)

are disabled. (tried also to enable and still nothing..)
What could it be?
thanks in advance!
 
Could you please check the owner and group of the document root directory of the website, it should be
Code:
<ftp username>:psaserv
If the directory is
Code:
<ftp username>:psacln
it can lead to the error described. In that case, simply change the group of the document root directory of the website, e.g.
Code:
# chown <ftp username>:psaserv <document root directory name>
 
Solved it, It wasn't permission problem.
I needed to add
location / {
try_files $uri $uri/ /index.php?$args;
}
had some problems also with that but solved that also.
Thanks anyway!
 
Back
Top