For wordpress: In Apache & Nginx Settings -> Additional nginx directives, add:
if (!-e $request_filename ){
set $test P;
}
if ($uri !~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon)){
set $test "${test}C";
}
if ($test = PC){
rewrite ^ /server/index.php last;
}
Hello @DieterWerner,
Do you have some examples of the permalinks structure and what is the real url ?
Because it highly depend on your applications structure.
Check webserver access log to ensure request handler properly.
Also try to add some debug logging to your routing script. Write all requests and it's params to a file. Use log to verify routing logic.
It's working now.
It wasn't an issue of nginx or apache but a big bug in the code of the forum.
I changed the code and the problem is resolved.
Thanks to all!