Hi, I've installed WordPress using Plesk WordPress Toolkit, I noticed that my permalinks structure included the prefix /index.php/url. I've tried simply deleting it, however it causes server error 404 page not found to appear for all of my pages.
PHP 8.1.9 running as FPM application served by nginx.
If I choose any other permalink structure without /index.php/ in front I get 404 error on my pages.
So basically my pages have to look like this: https://website.com/index.php/blog/this-is-my-blog/ in order to work and not give me 404. If I change permalink structure to: https://website.com/blog/this-is-my-blog/ I get 404.
My website.com.conf file about permalinks:
# WordPress permalink
# To remove this rule, add "wordpressPermalinkHandlingFeature = false" in the [ext-wp-toolkit] section of panel.ini
# then reconfigure the current domain
set $sef_entry_point /;
if ($uri ~* "^/") {
set $sef_entry_point "/index.php?$args";
}
location @wpt_permalinks_fallback {
try_files $uri $sef_entry_point;
}
error_page 404 = @wpt_permalinks_fallback;
error_page 405 = @wpt_permalinks_fallback;
I wonder if anyone has any suggestions on how I might be able to solve this.