Please Help Me How To Make This on htaccess !!! Please Help Me Sir !!!

Naga Hoki

Newbie
Joined
Jan 7, 2019
Messages
8
Reaction score
1
Please Help Me How To Make This on htaccess !!! Please Help Me Sir !!!

help.png
 
I'm not sure what you're looking to accomplish. It looks like the 301 redirects are from HTTP to HTTPS which is OK. And I believe you have a 302 redirect from /index.php to /

Looks ok to me.
 
I'm not sure what you're looking to accomplish. It looks like the 301 redirects are from HTTP to HTTPS which is OK. And I believe you have a 302 redirect from /index.php to /

Looks ok to me.
This is really strange you can check the site https://carolinespelman.com/ here there is a 302 redirect on page 404. But at http to https you get 301 redirects. Do you know the htaccess code that was made? or is there another way?
 
Code:
#https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]

#index.php
 RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

Should work
 
I think you are not alowed to have a word "google" in your domain name
 
Try this.

Http to Https:

Code:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
 
Back
Top