Merhabalar,
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule (.*) https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
kodunu kulanıyorum https yönlenmesi + www eki için..
fakat sitemdeki bir image klasöründeki image uzantılarında bir dizin altındaki bu yönlendirmeleri yapmasını istemiyorum
if koşulu nası eklerim bu koda?
http://www.xxxxxxx.com/image/test/16...97b15c9f5f.jpg
yani örnek bu url girince http açabilsinler https yönlendirmesin istiyorum
Htaccess if else koşulu ?
1
●55
- 08-01-2022, 14:13:57