How to make Apache .htaccess file to be worked with Nginx?

Kaz Wolfe

Well-known member
Registered
Joined
Jul 7, 2016
Messages
609
Points
28
For most of CMS like joomla, wordpress, drupal,..etc they have htacess file which to run rewrite rules for its web system, but if we change from Apache to Nginx web server, that could not work. What are other solutions to instead of using .htaccess for NGINX?
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
You are right Nginx doesn't use .htaccess, it use rewrite rules and you have to add them in the Nginx configuration for each website.
But most of the time you just have to use google and to write rewrite nginx with the CMS of your choice to find how to do.

Joomla : https://docs.joomla.org/Nginx/

Wordpress : https://codex.wordpress.org/Nginx
 

StackNetwork

Member
Registered
Joined
Sep 20, 2016
Messages
32
Points
8

AlphaNine Vini

Member
Hosting Provider
Registered
Joined
Dec 8, 2016
Messages
59
Points
6
Yes. You need to configure the nginx configuration in that for redirection
 
Latest Threads
Recommended Threads
Replies
6
Views
3,470
Replies
11
Views
43,165

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