Welcome! Log In Create A New Profile

Advanced

multiple htaccess to nginx URL rewrite

Posted by SirfPsycho 
multiple htaccess to nginx URL rewrite
December 04, 2020 07:05AM
I am using aapanel. How can I set nginx url rewrite for multiple htaccess ?
In cpanel, In my script one htaccess is in public_html and another htaccess is in public_html/public/

This htaccess is in public_html

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .*$ public/$1 [L]
</IfModule>

and in public_html/public/

Options -Indexes
<Files *.css>
order allow,deny
allow from all
</Files>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]
Re: multiple htaccess to nginx URL rewrite
December 06, 2020 07:15AM
anyone can help me please?
Re: multiple htaccess to nginx URL rewrite
September 19, 2021 01:53PM
Login to panel > website > Select site name/domain > URL rewrite > select wordpress from dropdown > save
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready