• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Can't get rid of index.php prefix from all url slugs

f0rtem

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Plesk Obsidian 18.0.46
Hi, I've installed WordPress using 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.

I have tried modifying .htaccess but it won't change.

PHP 8.1.9 running as FPM application served by nginx.

I wonder if anyone has any suggestions on how I might be able to solve this.
 
Hello!
Do you use any plugin for change URL?
Could you show your setting of Permalinks in WP?
1662461763143.png
If I choose any other than custom without /index.php/ I get 404 error on my pages.

Check if the setting "Custom Error Documents" is enabled:

Custom Error Documents is enabled, If I try to disable it I get 403.
 
Just a note: when you run a website using Nginx, the .htaccess file no longer applies. A .htaccess file only works with the Apache webserver.
 
I think ,htaccess can't affect because you use nginx.
May be you have custom configs of Nginx web server (domain -> Hosting & Dns -> Apache & nginx Settings)
 
Just a note: when you run a website using Nginx, the .htaccess file no longer applies. A .htaccess file only works with the Apache webserver.
I think ,htaccess can't affect because you use nginx.
May be you have custom configs of Nginx web server (domain -> Hosting & Dns -> Apache & nginx Settings)
Nginx does not read htaccess, it is true. I'm curious what other options nginx has to fix this problem. I will see If I can find any methods.
 
Back
Top