I am working on a website, its working fine in localhost, but in production with https its showing page not found, its working fine with http. Website is having ssl certificate, previously it was working fine with https but after deploying new code getting the issue. below is my htacces code, can anyone help me out with this
Options -MultiViews -Indexes # RewriteEngine On RewriteCond %{HTTPS} on #RewriteRule ^/?$ http://%{SERVER_NAME}/ [R=301,L]
# Handle Authorization Header
#RewriteCond %{HTTP:Authorization} .
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Handle Front Controller.`enter code here`..
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire