~
Advanced Hosters -

Lkv7
: 04.07.2007
: 899
# : 07, 2007 9:32 pm
,
.
301(.htaccess)


Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^ example.ru
RewriteRule (.*) http://www.example.ru /$1 [R=301,L]

500 , . . .

.

, domen.com www.domen.com

- 70 1.5

Li-Hua
: 25.12.2005
: 11547
# : 08, 2007 10:10 am
:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Xenoid
: 06.09.2007
: 66
# : 08, 2007 2:39 pm
:
:

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.ru
RewriteRule ^(.*)$ http://www.example.ru/$1 [R=301,L]


- "^" "example.ru"
- , , ? , www, www.
, .
- RewriteRule

Taburetkin
: 25.02.2007
: 1426
Star (: 1)
# : 08, 2007 2:47 pm
rewriteEngine On
rewriteCond %{HTTP_HOST}!^www\.mydomain\.com$ [NC]
rewriteCond %{HTTP_HOST}!^$
rewriteRule (.*) http://www.mydomain.com/$1 [R=301,L]

Lkv7
: 04.07.2007
: 899
# : 12, 2007 8:10 pm
, .

- 70 1.5
    ~