0
.htacess of the site
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# Redirecionamento http to https SSL Protocol
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
# END WordPress
RewriteEngine On
ErrorDocument 404 /404.html
.htacess of the System
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$1 [PT,L]
RewriteEngine On
ErrorDocument 404 /https://www.meusite.com.br/aplicacao/404.html
page 404.html is not loading. Is it because I’m testing on localhost? or has nothing to do with?
– Ramiro
I’ve been able to make it work for the site, but for the application is not working.
– Ramiro