• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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