Please wait...
Apache .htaccess for MailWizz
Assuming MailWizz is installed in your document root, in a absolute path like:
/home/yourdomain/public_html
and accessible at
https://www.yourdomain.com/
then in
/home/yourdomain.com/public_html/.htaccess
you will put:
# BEGIN rewrite rules <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / # BACKEND APP RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) RewriteCond %{REQUEST_URI} ^/backend(/.*)?$ RewriteRule backend/.* backend/index.php # CUSTOMER APP RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) RewriteCond %{REQUEST_URI} ^/customer(/.*)?$ RewriteRule customer/.* customer/index.php # API APP RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) RewriteCond %{REQUEST_URI} ^/api(/.*)?$ RewriteRule api/.* api/index.php # FRONTEND APP RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) RewriteRule . index.php </IfModule> # END rewrite rules
Please note that the above rules can also be generated from backend of your application by going to Backend > Settings > Common.