Enabling htaccess in Plesk for all websites?

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,498
Points
63
I heard that Nginx doesn't support htaccess file while 80% my websites are running with htaccess. My hosting provider is offering Plesk with cheap pricing, around $4 for a licence, I would take one but if I install Plesk on my host, how can I enable htaccess for all my sites?

Where can I configure this? fast and easy?
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
I heard that Nginx doesn't support htaccess file while 80% my websites are running with htaccess. My hosting provider is offering Plesk with cheap pricing, around $4 for a licence, I would take one but if I install Plesk on my host, how can I enable htaccess for all my sites?

Where can I configure this? fast and easy?
With Plesk you have Apache + Nginx. By default Apache will process the php and you will be able to use your .htaccess, Nginx is only configured as a reverse-proxy to handle static assets and make your website loading faster.
You can also switch to Nginx only, but this time you will not be able to use .htaccess files.
 

IgorG

Member
Registered
Joined
Jul 22, 2016
Messages
60
Points
8
Best answer
In case on Nginx you can use htaccess to nginx Plesk extension. It will convert apache htaccess rewrite rules to nginx rewrite rules automatically.
 

David Beroff

Well-known member
Registered
Joined
Jun 14, 2016
Messages
1,498
Points
63
With Plesk you have Apache + Nginx. By default Apache will process the php and you will be able to use your .htaccess, Nginx is only configured as a reverse-proxy to handle static assets and make your website loading faster.
I think Apache + Nginx will not more better than running Nginx only, anyway it is a mixture of Apache and Nginx.
I am expecting to run Nginx independently because I read than Nginx is optimized and will not load tons of libraries like Apache so it is more faster.

You can also switch to Nginx only, but this time you will not be able to use .htaccess files.
Where to find these options in Plesk?
If I run Nginx only, there are issues or errors I should care?

In case on Nginx you can use htaccess to nginx Plesk extension. It will convert apache htaccess rewrite rules to nginx rewrite rules automatically.
Can you share full guide for this?
I would to test it for any WP sites when I have Plesk next days on my hosting.
 
Newer Threads
Latest Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top