• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue .htaccess not working

Asentrix

New Pleskian
No matter what I do, the htaccess will not work.
I'm trying to configure rewrite rules and it absolutely doesn't work, it's like it's not recognizing anything I put in the htaccess
I tried adding code so all .php extensions on my site are hidden in the URL and it ignores it completely:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]

I also used the htaccess to nginx extension and converted my htaccess to nginx and that doesnt work either
YES proxy mode is turned on.

This issue is happening on both plesk servers I own, both are different versions and months apart in updates.
 
In order to find out if .htaccess is recognized I suggest to first put a line into it that is definitely wrong so that it causes a 500 error. Like just some random string "cdfghjkl". Is the website still responding in that case? Or does it deliver the expected 500 error?
 
Back
Top