Lathoz

Untitled

Dec 4th, 2024
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. RewriteEngine On
  2. RewriteCond %{HTTPS} off
  3. RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  4.  
  5. RewriteEngine On
  6. RewriteCond %{HTTP_HOST} ^www.xxx [NC]
  7. RewriteRule ^(.*)$ https://xxx/$1 [L,R=301]
  8.  
  9. RewriteEngine On
  10. RewriteCond %{REQUEST_FILENAME} !-d
  11. RewriteCond %{REQUEST_FILENAME} !-f
  12. RewriteRule ^(.*)$ https://xxx/ [L,R=301]
  13.  
  14.  
Advertisement
Add Comment
Please, Sign In to add comment