.htacess coding is right or wrong kindly let me know

Highlighted

Hi Kindly Check and let me know that is this .htacess file is right of Sheetal Kapoor  


i have used this .htacess coding in my website.is this code is perfect to my website. kindly suggest me please ?

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTP_HOST} !^sheetalkapoor.biz$
RewriteRule (.*) https://sheetalkapoor.biz/$1 [R=301,L]
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>

0 Likes
Shopify Partner
1316 18 185

Link bait.

Need to delete my history now :)

https://sections.design tips, tricks & Shopify sections
1 Like

Hi,

Thanks for the reply.now it has been solved. but my two more site ranking was reflecting due to the ssl certificate. i am using the same .htacess coding in my same websites.so kindly suggest me what to do ??

Regards 

Sheetal Kapoor

0 Likes