© Сделано на LiveStreet
Дизайн - ©2009 MODx RED Group
http://www.healthsnews.com/woman/krasota/face/kosmeticheskij-led-dlya-licza:-4-ledyanyix-reczepta.htmlhttp://www.healthsnews.com/kosmeticheskij-led-dlya-licza:-4-ledyanyix-reczepta.htmlRedirectPermanent /woman/krasota/face/kosmeticheskij-led-dlya-licza:-4-ledyanyix-reczepta.html http://www.healthsnews.com/kosmeticheskij-led-dlya-licza:-4-ledyanyix-reczepta.htmlhttp://www.healthsnews.com/kosmeticheskij-led-dlya-licza:-4-ledyanyix-reczepta.html?q=woman/krasota/face/kosmeticheskij-led-dlya-licza:-4-ledyanyix-reczepta.html# For full documentation and other suggested options, please see
# http://svn.modxcms.com/docs/display/MODx096/Friendly+URL+Solutions
# including for unexpected logouts in multi-server/cloud environments
# and especially for the first three commented out rules
#php_flag register_globals Off
#AddDefaultCharset utf-8
#php_value date.timezone Europe/Moscow
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
# Fix Apache internal dummy connections from breaking [(site_url)] cache
RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
RewriteRule .* - [F,L]
# Rewrite domain.com -> www.domain.com -- used with SEO Strict URLs plugin
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
#RewriteRule (.*) http://www.example.com/$1 [R=301,L]
# Exclude /assets and /manager directories and images from rewrite rules
RewriteRule ^(manager|assets)/*$ - [L]
RewriteRule \.(jpg|jpeg|png|gif|ico)$ - [L]
# Reduce server overhead by enabling output compression if supported.
#php_flag zlib.output_compression On
#php_value zlib.output_compression_level 5
RewriteBase /
RedirectPermanent /woman/krasota/face/kosmeticheskij-led-dlya-licza:-4-ledyanyix-reczepta.html http://www.healthsnews.com/kosmeticheskij-led-dlya-licza:-4-ledyanyix-reczepta.html
# For Friendly URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]RewriteRule ^man/(.*)/(.*) http://healthsnews.com/$2 [R=301,NC,L]
RewriteRule ^woman/(.*)/(.*) http://healthsnews.com/$2 [R=301,NC,L]
RewriteRule ^man/(.*)/(.*)/(.*) http://healthsnews.com/$3 [R=301,NC,L]
RewriteRule ^woman/(.*)/(.*)/(.*) http://healthsnews.com/$3 [R=301,NC,L]
$newId = $doc->get('id');
$url = $modx->makeUrl($newId,'','','full');
$hook->setRedirectUrl($url);
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
#>>>>
RewriteCond %{HTTP_HOST} ^msc-alyans.ru
RewriteRule (.*) http://www.msc-alyans.ru/$1 [R=301,L]
#<<<<
#>>>> Sitemap, rss
RewriteRule ^(.*)rss\.html$ rss.xml [L,R=301]
RewriteRule ^(.*)\.xml\.html$ $1.xml [L,R=301]
# Fix Apache internal dummy connections from breaking [(site_url)] cache
RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
RewriteRule .* - [F,L]
# Exclude /assets and /manager directories from rewrite rules
RewriteRule ^(manager|assets) - [L]
# For Friendly URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
//redirect the user to the dutch pages
$sl = 0;
$ssl = 'full';
if($http)$ssl = $$http;
if($sleep)$sl = $sleep;
header('Refresh: '.$sl.'; URL='.$modx->makeUrl($id, '', '', $ssl));