- Login to Plesk.
- Open the domain you need to update.
- Click on the “Apache and nginx settings” link.
- Scroll to the bottom to “Additional nginx directives” and add the following :
if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; }
- Save