• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Issue .htaccess file dose not works on plesk while it is working on local host

mnafullstack

New Pleskian
I have developed a website in php on local host xampp and now I've uploaded the website to the plesk hosting. Everything is working fine except the .htaccess file. Either the .htaccess file is not able to work with plesk server OR something else would be the issue.

Is there anybody who can tell me why the .htaccess file is not working on plesk hosting? My .htaccess inside code is here:

ErrorDocument 404 http://mysite.com/404.php

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

This code is working fine on local host but not on plesk server. Even it is not redirecting the 404 error to the 404 custom page.
 
Last edited:
I cannot see the proxy option in Plesk > Domains > domain.com > there I can't see the apache & nginx Settings.
Then how to resolve it if I can't see these options in my hosting?
 
Oh, do you have Plesk for Windows?
If I'm not mistaken, IIS doesn't support .htaccess file.
 
Back
Top