Advertisement
krot

переадресацию на домен БЕЗ «www»

Oct 29th, 2016
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. RewriteEngine On
  2. RewriteCond %{HTTP_HOST} ^www.site.ru$ [NC]
  3. RewriteRule ^(.*)$ http://site.ru/$1 [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement