.htaccess file code
DirectoryIndex index.php index.html index.htm index2.html
ErrorDocument 403 https://errors.infinityfree.net/errors/403/
ErrorDocument 404 https://errors.infinityfree.net/errors/404/
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:CF-Visitor} !{"scheme":"https"}
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
# Allow all traffic (Might not work on InfinityFree)
Order Allow,Deny
Allow from all
Satisfy any
Error Message
i deploy one project on infinityFree web hosting provider but this website load properly in computer (desktop) but when i try to open same website in mobile that time getting 403 error.