Авторизация
Логин:
Пароль:
Забыли свой пароль?
Войти как пользователь:
Войти как пользователь
Вы можете войти на сайт, если вы зарегистрированы на одном из этих сервисов:
Подписка на рассылку
Реклама
11 лет сервису InKey.Biz.ua - Инвестиционный бизнес под ключ.
Расскажи о нас


Компоненты 2.0: настройка поддержки ЧПУ

04.10.2009

Настройка поддержки ЧПУ производится для работающих проектов (вы должны установить обновление главного модуля до версии 5.1.8 и выше, поскольку в обновление ядра 5.1.8 включен механизм переопределения адресов для поддержки ЧПУ). Все, кто будет ставить новый дистрибутив, получат уже настроенную поддержку.

Понятие обработки адресов

Обработка адресов (UrlRewrite) применяется для того, чтобы скрипт мог отвечать не только по своему физическому, но и по любому другому указанному адресу. Например, можно задать такие настройки обработки адресов, что скрипт, лежащий в файле /fld/c.php и отвечающий по адресу:
     /fld/c.php?id=15
будет отвечать также по адресу:
     /catalog/15.php

Адрес, по которому будет отвечать скрипт, не должен физически существовать на сервере. Если такой адрес физически существует, то будет вызван скрипт по этому адресу. Система обработки адресов запущена в этом случае не будет.

Управление правилами преобразования адресов производится на странице: /bitrix/admin/urlrewrite_list.php.
Механизм переопределения адресов создан в основном для компонентов 2.0, поддерживающих режим ЧПУ. В то же время, данный обработчик можно использовать для переопределения любых URL, а не только связанных с компонентами.

При добавлении на страницу компонента с поддержкой ЧПУ (если файл сохраняется с помощью API), автоматически создается правило переопределения адреса. Если страница создается не с помощью API, а, например, записывается через FTP, то необходимо выполнить пересоздание правил (кнопка на панели инструментов на странице управления правилами).

Подключение механизма обработки адресов:

1. Если у вас на веб-сервере настроена обработка ошибки 404, например, для Apache установлена опция ErrorDocument или аналогичная инструкция прописана в файле .htaccess:
     ErrorDocument 404 /404.php,
то вы должны изменить файл /404.php, вставив в самое начало файла команду:
    include_once( $_SERVER['DOCUMENT_ROOT']. '/bitrix/modules/main/include/urlrewrite.php' );

2. Если вы для Apache используете модуль mod_rewrite, то в его настройках вы можете указать (например, в файле .htaccess):
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$
RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L]
</IfModule>

После этих настроек будет работать штатный механизм поддержки ЧПУ для новых компонент.


Страница 1 - 1 из 2
Начало | Пред. | 1 2 | След. | Конец

Количество показов: 83887
Рейтинг:  3.44

Возврат к списку

(Голосов: 2, Рейтинг: 3.44)

Материалы по теме:


0  
Guest
2018.9.19zhouyanhua
mac makeup
longchamp handbags
kate spade outlet
montre pas cher
kobe 12
polo ralph lauren
nike air max
polo ralph lauren
insanity workout
kids jordans
belgium world cup jerseys
michael kors outlet
lululemon sale
oakley sunglasses
jimmy choo shoes
new balance 574
golden goose shoes
jordan xx9
bottega veneta sunglasses
toms outlet
converse shoes
iphone case
nike air max
longchamp outlet
converse shoes
guess clothing
designer sunglasses
bulgari jewelry
roshe run
nike roshe
ralph lauren
ferragamo shoes
ugg outlet
adidas originals
ferragamo handbags
furla bags
bcbg max
curry 5
guess handbags
nike free
tory burch outlet
cartier bracelet
new balance outlet
polo ralph lauren
foamposite
nike vapor max
jordan 5
timberland
jordan
nike air max plus
kyrie irving jersey
michael kors outlet
lebron 12
nike air max
adidas slides
jordan 31
mizuno running shoes
mulberry handbags
ray ban
chloe bags
mac makeup
stuart weitzman
nike store
michael kors handbags
curry 4
parajumpers outlet
nike store
christian louboutin shoes
stuart weitzman shoes
carrera sunglasses
jordan 7s
nike blazer
louboutin shoes
nike outlet
adidas outlet
ray ban sunglasses
omega watches
valentino shoes
nike clothing
oakley
pandora rings
barbour jackets
prada outlet
longchamp
beats by dre
keen sandals
jordan 2s
coach outlet store online
jordan shoes
nike outlet
huf clothing
adidas clothing
air jordan
salvatore ferragamo shoes
nike kyrie 2
basketball shoes
alife clothing
nike outlet store online
tiffany jewelry
hogan outlet
michael kors outlet
adidas outlet
adidas outlet
oakley sunglasses sale
versace handbags
converse
adidas outlet
polo ralph lauren
soccer shoes
kobe 9
jordan
dior sunglasses
adidas outlet
nike roshe run
christian louboutin
true religion outlet
ghd hair straighteners
oakley sunglasses
harry winston jewelry
ray ban sunglasses
hermes uk
pandora jewelry
celine handbags
lunette oakley
timberland boots
prada handbags
asics gel lyte
kd 9
jordan 4
air max 2017
fitflops sale
fendi
montre pas cher
links of london
pandora charms
nike air force
converse chuck taylor
reebok outlet store
air max 2017
ralph lauren
dsquared2 jeans
kobe 10
bottega veneta handbags
givenchy jewelry
burberry outlet
pandora bijoux
nike outlet
giuseppe zanotti
fitflops sale
jordan 3s
true religion jeans
calvin klein outlet
lacoste jeans
jimmy choo
guess clothing
bose headphones
adidas crazy 8
chloe handbags
dolce and gabbana
diesel jeans
nike air force
givenchy handbags
nike outlet online
nike air max
abercrombie and fitch
supra
adidas running shoes
bape clothing
air max 97
mizuno running shoes
mizuno
balmain jeans
basket nike
sac michael kors
air max 95
jordan 32
oakley sunglasses
montblanc pen
cheap jerseys china
nike shoes canada
longchamp handbags
air max 2018
tommy hilfiger outlet
michael kors outlet
nike roshe
nike free run
sac longchamp
giannis antetokounmpo jersey
manolo blahnik
wedding dresses
baseball bats
iphone x case
nike store
portugal world cup jersey
burberry outlet online
jordan shoes
bottega veneta handbags
adidas flip-flops
nike huarache
jordans
nike mercurial
michael kors outlet
orologi rolex
tod's shoes
dansko shoes
nike air max
dak prescott jersey
christian louboutin
basket nike
vans pas cher
nike air max
dolce and gabbana
nike tn
jbl speaker
burberry sale
ugg boots
gioielli swarovski
hollister outlet
armani sunglasses
ralph lauren outlet
yeezy boost
chrome hearts jewelry
freshjive clothing
jordan 13s
curry 2
cheap ugg boots
spain world cup jersey
nike free
lululemon outlet
bally shoes
hermes jewelry
jordan 6s
puma shoes
air jordan
converse shoes
tory burch
bijoux swarovski
soccer jerseys
asics running shoes
burberry sunglasses
antonio brown jersey
oakley sunglasses
ray ban sunglasses
coach outlet
ed hardy
arc'teryx jackets
prada
swarovski jewelry
replica watches
ferragamo belts
burberry bags
jordans
kd shoes
kobe 10
chaussure nike
hermes birkin bag
vibram shoes
versace sunglasses
g-star jeans
hogan shoes
barbour jackets
vans shoes
tory burch outlet
wedding dresses
dyson hair dryer
air max
dior handbags
lunette ray ban
oakley sunglasses
chi flat iron
sac longchamp
roshe run
skechers sneakers
michael kors handbags
fendi handbags
alexander mcqueen handbags
gucci bags
armani jeans
christian louboutin outlet
hermes bags
jordan clothing
chrome hearts
nike free run
sac burberry
jordan 4s
salvatore ferragamo sunglasses
chanel bags
hermes outlet
ghd hair straighteners
oakley sunglasses
england world cup jersey
michael kors canada
swarovski jewelry
kevin durant jersey
softball bats
ray ban
karen millen dresses
adidas
polo lacoste
ugg boots
michael kors
curry 3
toms shoes
nike free 5
beats headphones
nike roshe
karen millen
abercrombie and fitch
timberland
louboutin pas cher
nike blazer
moncler outlet
adidas zx flux
sac guess
balenciaga shoes
jordan retro
basketball jerseys
fendi sunglasses
converse all star
gucci outlet online
bcbg outlet
replica rolex watches
cartier sunglasses
salvatore ferragamo
nike shoes
dolce & gabbana sunglasses
wedding dresses
vans outlet
oakley sunglasses
nike roshe
salomon shoes
brazil world cup jersey
isabel marant shoes
insanity workout
pandora jewelry
michael kors
air max 90
10 deep clothing
true religion outlet
new balance shoes
michael kors handbags
nfl jerseys
jordans
cheap nfl jerseys
gucci outlet online
ugg outlet
reebok outlet store
jordan 12
burberry clothing
nike air max
nike air max
tommy hilfiger
nike kyrie 4
jordan 8s
kenzo clothing
jordan 10s
new balance
asics shoes
pandora bracciali
longchamp bags
new balance pas cher
hollister
rolex watches
marc jacobs handbags
yves saint laurent
dansko shoes
nike air
nike free run
fossil handbags
calvin klein jeans
germany world cup jersey
replica watches
true religion jeans
jimmy choo sunglasses
beats by dre
salvatore ferragamo shoes
cheap nfl jerseys
louboutin outlet
boy london clothing
nike air max
jordan 6
armani handbags
air max 90
dsquared2 outlet
france world cup jersey
supra shoes
nike air max
jordan shoes
air zoom pegasus
new balance shoes
abercrombie outlet
moncler jackets
air max 90
ugg outlet
fitflop uk
insanity workout
nike mercurial
goyard handbags
lebron 11
jordan 14s
asics gel
ralph lauren
michael kors outlet
herve leger
kate spade outlet
champion clothing
chloe sunglasses
ray ban occhiali
bathing ape
jordan shoes
jordan shoes
aaron rodgers jersey
clarks shoes
mac cosmetics
jordan 11
oakley outlet
bvlgari sunglasses
air max 90
jordan 1
clarisonic mia 2
chanel
beats pill
true religion jeans
lunette oakley
adidas trainers
converse
louboutin pas cher
kobe 11
abercrombie and fitch
instyler
scarpe nike
nike air max
marc jacobs
pandora jewelry
ugg boots
lebron james shoes
adidas superstar
james harden jersey
ghd hair straighteners
air max 95
chanel handbags
kd shoes
adidas soccer cleats
coach purse
montre femme
coach outlet
rolex watches
argentina world cup jersey
vans scarpe
ray ban
true religion
burberry outlet
chopard jewelry
dolce & gabbana
flip flops
kate spade
nike air more uptempo
sac vanessa bruno
jordan 9s
canada goose jackets
air max 90
hogan
ray ban sunglasses
gucci shoes
marc jacobs handbags
adidas outlet
carson wentz jersey
ray ban sunglasses
gucci bags
red bottoms
kd 10 elite
adidas soccer cleats
jordans
nike blazer
tommy hilfiger
air force 1
montblanc pen
michael kors borse
babyliss pro nano titanium
gentle monster sunglasses
miu miu shoes
nike factory store
nike shoes
michael kors outlet
kristaps porzingis jersey
2018.9.19zhouyanhua
Имя Цитировать 0  
0  
Guest
20189.20wengdongdong
adidas slides
nike outlet
timberland boots
ray ban
north face jackets
giuseppe zanotti shoes
flip flops
north face outlet
ralph lauren
new balance sandals
uggs outlet
ralph lauren
puma slides
mont blanc pens
versace sunglasses
ray bans
linda farrow sunglasses
nine west shoes
moncler outlet
michael kors outlet
moncler outlet
timberland outlet
christian louboutin
ugg outlet
tiffany jewelry
pandora jewelry
moncler outlet
jordan 4
ugg boots
michael kors outlet
air max
marcelo burlon
nike air max
new balance shoes
swarovski jewelry
juicy couture
vans outlet
ugg boots
pandora charms
canada goose jackets
nike running shoes
supreme uk
mizuno running shoes
ugg sale
vans shoes
tommy hilfiger polo shirts
visconti pens
ugg australia
true religion jeans
mcm handbags
sophia webster shoes
coach outlet online
ugg boots
herve leger dresses
ray ban sunglasses
north face
converse
longchamp handbags
true religion jeans
nike free run
superdry
flip-flops
fitflop
prada
givenchy handbags
kd 10
coach outlet online
ugg boots
nike roshe
air jordan
oakley canada
basketball shoes
cheap nfl jerseys
ysl sunglasses
jordans
puma fenty
vibram fivefingers
baseball bats
skechers sandals
coach outlet
louboutin outlet
cheap jordan shoes
canada goose jackets
coach outlet store
adidas shoes
soldier 11
ralph lauren jeans
coach outlet online
nike cortez
tory burch shoes
nike factory
soccer jerseys
coach outlet
nike blazer
louboutin
ugg boots
christian louboutin shoes
pandora jewelry
pandora jewelry
supreme clothing
air max 95
nike roshe
valentino shoes
michael kors outlet
lebron 14
nike kyrie 3
under armour outlet
air max 1
puma outlet
converse shoes
ugg outlet
jordan 8
yoga pants
michael kors canada
tory burch bags
kobe 11
adidas jeremy scott
arc'teryx clothing
ralph lauren
ysl makeup
air max 270
hermes bags
parajumpers jackets
shoe carnival
ronaldo jersey
oakley sunglasses
versace bags
michael kors taschen
breguet watches
air jordan 3
longchamp handbags
spalding basketball
nfl jerseys
lee jeans
ugg outlet
jordan retro
tom ford sunglasses
cheap oakley sunglasses
burberry handbags
snapback hats
uggs outlet
soldier 10
y-3 shoes
under armour shoes
ugg boots
nike air force
supreme paris
ray ban
birkenstock sandals
cheap nba jerseys
burberry outlet
mcm bags
adidas nmd
tods shoes
ferragamo shoes
miu miu shoes
vans shoes
off-white shoes
ugg sale
ray ban sunglasses
coach outlet
maillot de foot
omega watches
russell westbrook shoes
adidas outlet
oakley sunglasses
north face
tory burch outlet
michael kors outlet clearance
nike dunks
canada goose outlet
nfl jerseys
replica watches
nfl jerseys
nike shox
hermes outlet
balenciaga shoes
flops
the north face
saucony running shoes
hermes bags
stuart weitzman shoes
polo ralph lauren
michael kors outlet online
maui jim sunglasses
moncler jackets
bottega veneta
russell wilson jersey
ugg boots
ugg sale
marc jacobs bags
hollister outlet
coach factory outlet online
jordans
north face outlet
canada goose jackets
soccer shirts
nike outlet store
north face jackets
links of london
jordan 5
ugg outlet
kate spade
fitflops
manolo blahnik
jimmy choo
tiffany jewelry
nike factory
adidas outlet
birkenstock outlet
nike flight bonafide
christian louboutin shoes
nike sb
light up shoes
michael kors handbags
christian louboutin shoes
nike outlet
true religion jeans
columbia outlet
hermes belt
moncler outlet
hogan outlet
beats by dre
nfl jerseys
ugg boots for men
nike epic react flyknit
north face outlet
supra shoes
ugg slippers
montblanc pen
michael kors handbags
coach factory outlet
lululemon
canada goose jackets
air max
canada goose coats
kate spade purse
celine outlet
coach handbags
nike air huarache
prada handbags
woolrich jackets
harden vol 2
ray ban
nike revolution
vendita maglie calcio
ugg for women
red bottoms
ray ban sunglasses
kate spade handbags
manolo blahnik
bcbg dresses
coach outlet
nfl jerseys wholesale
michael kors bags
pandora jewelry canada
cheap nfl jerseys
michael kors handbags
new balance shoes
ugg outlet
ugg clearance
christian louboutin
tory burch
vetements clothing
canada goose jackets
reebok shoes
fjallraven kanken
nike lunarglide
oakley vault
philipp plein outlet
nike free
adidas yeezy
polo ralph lauren
christian louboutin
air force 1
pasotti ombrelli
vapormax
wholesale hats
north face outlet
levi's jeans
kate spade
christian louboutin
longchamp outlet
ugg boots
birkenstock sandals
ray ban outlet
ugg boots
teva sandals
nike outlet
x-large clothing
coach outlet online
mac cosmetics
nike socks
supreme
michael kors handbags
curry jersey
rayban
true religion jeans
ugg boots
philipp plein outlet
tag heuer watches
christian louboutin
ugg outlet
air max 2018
victoria's secret outlet
kate spade handbags
north face outlet
polo outlet
coach purse
louboutin shoes
miu miu sunglasses
ugg outlet
swarovski crystal
undefeated shoes
ralph lauren
canada goose outlet
jordan 6
monster headphones
nike shoes for men
balenciaga triple s
ralph lauren
jordan shoes
ralph lauren
prada handbags
pandora charms
swarovski rings
coach outlet
ray ban sunglasses
marc jacobs handbags
soccer jersey
baseball jersey
ralph lauren
michael kors handbags
nike huarache
adidas superstar
cheap soccer jerseys
salvatore ferragamo shoes
ray ban sunglasses
canada goose jackets
ralph lauren
ugg for men
ugg australia
mk purse
ray ban sunglasses
flipflops
air jordan
nike uk
cheap replica watches
ugg factory outlet
air max 2017
michael kors uk
canada goose outlet
coach outlet online
nicholas kirkwood shoes
hundreds clothing
lululemon sale
uggs on sale
jordan 12
air jordan
mikimoto jewelry
nike outlet store online
michael kors handbags
ysl handbags
timberland boots
off-white
coach outlet
true religion
ralph lauren
cartier jewelry
air max
longchamp handbags
kate spade outlet
ナイキ スニーカー
nike flip-flops
soldier 9
coach handbags
adidas wings
camisetas de futbol baratas
fila shoes
longchamp outlet
pandora charms
ralph lauren polo shirts
bvlgari rings
coach outlet
ugg shoes
michael kors outlet clearance
belstaff jackets
moncler jackets
maglie calcio
malone souliers shoes
longchamp handbags
versace clothing
nike outlet
wholesale nfl jerseys
ray ban sunglasses
air max 97
camisetas fútbol
canada goose jackets
audemars piguet
harden vol 1
fingerlings monkey
air max 90
jordans
michael kors handbags
longchamp
persol sunglasses
nike dunks
ralph lauren
ralph lauren uk
ugg outlet store
ray ban sunglasses
kyrie 2
dansko shoes
cheap mlb jerseys
adidas uk
air max plus
ugg outlet
russell westbrook jersey
air jordan 14
oakley sunglasses
adidas originals
nike free run
air jordan
tory burch sandals
ugg outlet
uggs
canada goose sale
baby uggs
air jordan 11
pandora jewelry canada
kate spade
ray bans
tom brady jersey
michael kors outlet
suicoke
adidas outlet store
pelikan pens
running shoes
jordan 1
jimmy choo
pandora jewelry
burberry outlet store
adidas flip flops
polo ralph lauren
tiffany jewelry
new balance
columbia sportswear
kd 8
coach outlet online
ferragamo outlet
nike outlet
ugg sale
prada outlet online
michael kors outlet clearance
beats headphones
polo outlet
coach factory outlet
ugg boots
basketball shoes
coach handbags
kobe shoes
hermes belt
ugg sale
ugg boots
oakley sunglasses cheap
nike outlet
adidas yeezy
scarpe mbt
kate spade outlet
converse shoes
nike tennis
coach factory outlet
ugg clearance
north face outlet
jordan shoes
curry shoes
stussy hoodie
cristiano ronaldo jersey
fitflop
jordan pas cher
stan smith
supra shoes
hermes birkin bag
mac makeup
air max
jordan xx9
jordan shoes
air max
asics running shoes
air jordan
coach factory online
breitling watches
manchester united jersey
true religion jeans
alexander mcqueen shoes
van cleef & arpels jewelry
adidas outlet
christian louboutin outlet
cheap nfl jerseys
ugg outlet
air jordan
pandora charms
soccer jerseys
timberland boots
burberry canada
lebron 13
polo ralph lauren
prada sunglasses
Fußballtrikots günstig
adidas football boots
mac cosmetics
coach outlet online
police sunglasses
converse shoes
yeezy shoes
nike blazer
mulberry handbags
ugg boots
nike tn
nike air max
nike mercurial superfly
ugg for kids
coach outlet
yeezy 500
kd shoes
vans shoes
ugg outlet
paul george shoes
omega watches
cheap nfl jerseys
hermes belt
canada goose outlet
pandora charms
barcelona jersey
oakley sunglasses
mishka clothing
michael kors handbags
lebron james jersey
supreme clothing
wedding shoes
birkenstock sandals
fußballtrikots ermäßigung
ray ban
coach handbags outlet
cheap nhl jerseys
mbt shoes
moose knuckles jackets
nike presto
tiffany bracelet
lebron 15
ambassador 10
adidas ultra boost
moncler outlet
balenciaga sandals
christian louboutin
oakley sunglasses wholesale
oakley sunglasses
oakley sunglasses
dior handbags
lebron 15
coach outlet
cheap mlb jerseys
fitflops sale clearance
nike shoes
maillot de foot
montblanc
michael kors outlet clearance
onitsuka tiger
valentino shoes
canada goose outlet
adidas nmd
ralph lauren
nike hyperdunk
nobis jackets
cheap mlb jerseys
michael kors outlet
timberland
ralph lauren
ugg outlet
nfl jerseys
dolce & gabbana
nhl jerseys
rolex watches
20189.20wengdongdong
Имя Цитировать 0  
Текст сообщения*
Загрузить файл или картинкуПеретащить с помощью Drag'n'drop
Перетащите файлы
Ничего не найдено
Отправить Отменить
Защита от автоматических сообщений
 
Публикация статей
На данной странице представлены элементы инфоблока статьи, относящиеся к типу Публикации. Статьи опубликованы на странице с помощью комплексного компонента Новостной раздел с указанием параметров инфоблока Статьи. При создании каждой статьи был использован тег <break />, который позволяет осуществить разделение статьи на страницы. В публичном разделе такая статья будет представлена в виде нескольких страниц в зависимости от количества тегов <break />

liqpay webmoney privat24 visa mastercard
2002-2017 © InKey
All rights reserved