Options +FollowSymLinks

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /


#RewriteCond %{HTTPS_HOST} ^artimondo\.asia [NC]
#RewriteCond %{SERVER_PORT} 80
#RewriteRule ^(.*)$ https://artimondo.asia/$1 [R=301,L]

#RewriteCond %{HTTP_HOST} ^www\.artimondo\.asia [NC]
#RewriteRule ^(.*)$ https://artimondo.asia/$1 [L,R=301]

RewriteCond %{HTTP_HOST} ^www\.bexpon\.com [NC]
RewriteRule ^(.*)$ https://bexpon.com/$1 [L,R=301]

RewriteCond %{HTTP_HOST} ^www\.ydmalls\.com [NC]
RewriteRule ^(.*)$ https://ydmalls.com/$1 [L,R=301]

RewriteCond %{HTTP_HOST} ^www\.albertofattori\.me [NC]
RewriteRule ^(.*)$ https://albertofattori.me/$1 [L,R=301]

RewriteCond %{HTTP_HOST} ^www\.myduoli\.com [NC]
RewriteRule ^(.*)$ https://myduoli.com/$1 [L,R=301]

RewriteCond %{HTTP_HOST} ^www\.wecoalliance\.net [NC]
RewriteRule ^(.*)$ https://wecoalliance.net/$1 [L,R=301]

RewriteCond %{HTTP_HOST} ^www\.yiducity\.biz [NC]
RewriteRule ^(.*)$ https://yiducity.biz/$1 [L,R=301]

RewriteRule ^gps /index.php/check/check_gps [R=301,NC,L]
RewriteRule ^newuser /index.php/bepay/newuser [R=301,NC,L]
RewriteRule ^newcitta /index.php/myprofile/countryusr [R=301,NC,L]
RewriteRule ^newydfree /index.php/myprofile/countryusr [R=301,NC,L]
RewriteRule ^newgdw /index.php/myprofile/countryusr [R=301,NC,L]
RewriteRule ^newflyon /index.php/myprofile/countryusr [R=301,NC,L]
RewriteRule ^newlikeesy /index.php/myprofile/countryusr [R=301,NC,L]
RewriteRule ^ydcheckin /index.php/check/check_gps [R=301,NC,L]
RewriteRule ^goqiaotag /index.php/check [R=301,NC,L]
RewriteRule ^mycart /index.php/bepay/mycart [R=301,NC,L]
RewriteRule ^sc/(.*)$ /index.php/apphome/sc/$1 [L,R=301]
RewriteRule ^ydc/(.*)$ /index.php/ydc/$1 [L,R=301]
RewriteRule ^ydac/(.*)$ /index.php/ydac/$1 [L,R=301]
RewriteRule ^yda/(.*)$ /index.php/yda/$1 [L,R=301]
RewriteRule ^lang/(.*)$ /index.php/lang/$1 [L,R=301]
RewriteRule ^checkin/(.*)$ /index.php/buyme/checkin/$1 [L,R=301]
RewriteRule ^ideskppu/(.*)$ /index.php/gftz/ideskppu [L,R=301]
RewriteRule ^ideskppuita/(.*)$ /index.php/lang/gftz/ideskppu/it [L,R=301]
RewriteRule ^ideskppueng/(.*)$ /index.php/lang/gftz/ideskppu/en [L,R=301]

#index
RewriteRule ^tech2020 /lr/tech2020 [L,R=301]



RewriteRule ^trademarks /index.php/mng/selection_artimondo [R=301,NC,L]


#RewriteRule ^mydirectory/(.*)$ ^(www.)?myduoli.com/$1 [L,R=301]

#RewriteRule ^mydirectory/(.*)$ ^(www.)?myduoli.com/$1 [L,R=301]

#RewriteRule ^mydirectory/(.*)$ http://myduoli.com/$1 [L,R=301]

RewriteRule ^myadmin /index.php/myprofile [L,R=301]

RewriteRule ^mydirectory/(.*)$ http://myduoli.com/$1 [L,R=301]

RewriteRule ^validation/(.*)$ /index.php/myprofile/validation/$1 [L,R=301]

RewriteRule ^validationyd/(.*)$ https://ydmalls.com/index.php/myprofile/validation/$1 [L,R=301]

RewriteRule ^validationbx/(.*)$ https://bexpon.com/index.php/myprofile/validation/$1 [L,R=301]

RewriteRule ^validationwe/(.*)$ https://wecoalliance.net/index.php/myprofile/validation/$1 [L,R=301]

RewriteRule ^check/(.*)$ /index.php/check/qiaotag/$1 [L,R=301]

RewriteRule ^trackprd/(.*)$ /index.php/check/trackprd/$1 [L,R=301]

RewriteRule ^arti/(.*)$ https://artimondo.asia/index.php/arti/$1 [L,R=301]

RewriteRule ^addpd/(.*)$ https://myduoli.com/index.php/check/qiaotagapi/$1 [L,R=301]

RewriteRule ^selectlink/(.*)$ https://myduoli.com/index.php/products/selectlink/$1 [L,R=301]

RewriteRule ^coupon/(.*)$ /index.php/check/coupon/$1 [L,R=301]

RewriteRule ^addpdevent/(.*)$ https://myduoli.com/index.php/products/addevent/$1 [L,R=301]

RewriteRule ^mycode/(.*)$ /index.php/bepay/mypos/$1 [L,R=301]

RewriteRule ^ydfocusgroup https://ydinfluxe.com/index.php/ydinfluxe/ydfocus [L,R=301]

RewriteRule ^singleadd http://app1.ydmalls.com/index.php/mng/takedata_SINGLEFORM_to_db [L,R=301]




RewriteRule ^citta/(.*)$ /index.php/citta/$1 [L,R=301]

RewriteRule ^brand/(.*)$ /index.php/brand/short/$1 [L,R=301]

RewriteRule ^translations/(.*)$ https://myduoli.com/index.php/myservices/myorders/$1 [L,R=301]

RewriteRule ^checktranslation/(.*)$ https://myduoli.com/index.php/myservices/checktranslation/$1 [L,R=301]

RewriteRule ^product/(.*)$ /index.php/products/short/$1 [L,R=301]

RewriteRule ^event/(.*)$ /index.php/event/short/$1 [L,R=301]

RewriteRule ^location/(.*)$ /index.php/location/short/$1 [L,R=301]

RewriteRule ^ydcard/(.*)$ /index.php/ydbc/ydcard/$1 [L,R=301]

RewriteRule ^iflyer/(.*)$ /index.php/location/iflyer/$1 [L,R=301]

RewriteRule ^flyon/(.*)$ http://myduoli.com/index.php/location/flyon/$1 [L,R=301]

RewriteRule ^magon/(.*)$ http://myduoli.com/index.php/location/magon/$1 [L,R=301]

RewriteRule ^track/(.*)$ /index.php/check/tracknow/$1 [L,R=301]

RewriteRule ^myblog/(.*)$ https://yiducity.biz/index.php/blog/$1 [L,R=301]

RewriteRule ^influxblog/(.*)$ https://ydinfluxe.com/index.php/blog/$1 [L,R=301]

RewriteRule ^iblog/(.*)$ https://my.ibeltroad.com/index.php/blog/$1 [L,R=301]

RewriteRule ^ydblog/(.*)$ https://my.ydluxe.com/index.php/blog/$1 [L,R=301]

RewriteRule ^yblog/(.*)$ https://my.yiducity.com/index.php/blog/$1 [L,R=301]

RewriteRule ^gftzblog/(.*)$ https://mygftz.com/index.php/gftzblog/$1 [L,R=301]

RewriteRule ^ccblog/(.*)$ https://cittacommercio.it/index.php/ccblog/$1 [L,R=301]

RewriteRule ^flyblog/(.*)$ https://ydfly.net/index.php/ydflyblog/$1 [L,R=301]

RewriteRule ^gdw/(.*)$ https://godwines.com/index.php/gdw/$1 [L,R=301]

RewriteRule ^fon/(.*)$ https://flyon.biz/index.php/fon/$1 [L,R=301]

RewriteRule ^ydfree/(.*)$ https://ydfree.net/index.php/ydfree/$1 [L,R=301]

RewriteRule ^ydcard/(.*)$ https://ydcard.net/index.php/ydfree/$1 [L,R=301]

RewriteRule ^ydbchain/(.*)$ https://ydbchain.com/index.php/ydfree/$1 [L,R=301]

RewriteRule ^ydtag/(.*)$ https://ydtag.com/index.php/ydfree/$1 [L,R=301]

RewriteRule ^yesbuy/(.*)$ https://yesbuy.biz/index.php/ydfree/$1 [L,R=301]

RewriteRule ^yesbuy/(.*)$ https://yesbuy.biz/index.php/ydfree/$1 [L,R=301]

RewriteRule ^ydupdates/(.*)$ https://ydupdates.net/index.php/blog/$1 [L,R=301]

RewriteRule ^qiaotagblog/(.*)$ https://qiaotag.com/index.php/blog/$1 [L,R=301]

RewriteRule ^chicblog/(.*)$ https://chicnic.net/index.php/blog/$1 [L,R=301]

RewriteRule ^malls/(.*)$ https://ydmalls.com/index.php/mall/$1 [L,R=301]

RewriteRule ^artiblog/(.*)$ https://artimondo.asia/index.php/arti/$1 [L,R=301]

RewriteRule ^afblog/(.*)$ https://albertofattori.me/index.php/blog/$1 [L,R=301]

RewriteRule ^1blog/(.*)$ https://1dute.biz/index.php/blog/$1 [L,R=301]

RewriteRule ^tastelive/(.*)$ http://live.tasteitaly.biz/index.php/blog/$1 [L,R=301]

RewriteRule ^weblog/(.*)$ https://wecoalliance.net/index.php/blog/$1 [L,R=301]

RewriteRule ^mymag/(.*)$ https://1mag.club/index.php/mymag/$1 [L,R=301]

RewriteRule ^wevalley/(.*)$ https://wecoalliance.net/index.php/wevalley/$1 [L,R=301]

RewriteRule ^wepark/(.*)$ https://wecoalliance.net/index.php/wepark/$1 [L,R=301]



Redirect /myblog https://yiducity.biz/index.php/blog

Redirect /bexpblog https://bexpon.com/index.php/blog

Redirect /malls https://ydmalls.com/index.php/mall

Redirect /checkqiaotag https://myduoli.com/index.php/check/check_qiaotag

Redirect /wevalley https://wecoalliance.net/index.php/wevalley

Redirect /wepark https://wecoalliance.net/index.php/wepark

Redirect /welogin https://wecoalliance.net/index.php/myprofile/login/places/

Redirect /mypitch https://wecoalliance.net/weblog/mypitch

#REDIRECT FOR EXPERIENCES

Redirect /ciie https://artimondo.asia/index.php/ydp/ciie

Redirect /ciiecat https://artimondo.asia/index.php/ciie/articatalog

Redirect /fashion http://fashion.myduoli.com

Redirect /food http://food.myduoli.com

Redirect /re http://re.myduoli.com

Redirect /b2b http://b2b.myduoli.com

Redirect /design http://design.myduoli.com

Redirect /furniture http://furniture.myduoli.com

Redirect /travel http://travel.myduoli.com

Redirect /fair http://fair.myduoli.com

Redirect /madeinitaly http://italy.myduoli.com

Redirect /luxury http://luxury.myduoli.com

Redirect /kids http://kids.myduoli.com

Redirect /recipes http://recipes.myduoli.com

Redirect /androjen http://yiducity.biz/index.php/flyer/217_12/4/0

Redirect /bv https://ydmalls.com/index.php/mall/p/ofi-china-beauty-expo-shanghai
Redirect /bfly https://ydmalls.com/index.php/flyer/117_17/14/0
Redirect /bottega https://ydmalls.com/index.php/mall/p/ofi-china-beauty-expo-shanghai

Redirect /ciiecollection https://artimondo.asia/index.php/ciiecollection/
Redirect /ciiebuy https://artimondo.asia/index.php/ciiebuy/
Redirect /ciiefb https://artimondo.asia/index.php/ciiefb/




Redirect /mypickup https://myduoli.com/index.php/bepay/beporders

Redirect /shot https://myduoli.com/index.php/check/shotqiaotag

#Redirect /newuser https://myduoli.com/index.php/bepay/newuser

Redirect /newweco https://wecoalliance.net/index.php/myprofile/countryusr

Redirect /newbex https://bexpon.com/index.php/myprofile/countryusr

Redirect /newyd https://ydmalls.com/index.php/myprofile/countryusr

#Redirect /gps https://myduoli.com/index.php/check/check_gps

Redirect /gpsdist https://myduoli.com/index.php/check/check_dist

Redirect /mymaptest https://myduoli.com/index.php/products/mymap

Redirect /betest https://myduoli.com/index.php/bepay/add/it51813a084636e6238454445/52

Redirect /betest2 https://myduoli.com/index.php/bepay/add/it51813a084636e6238454445/23

Redirect /bemypos https://myduoli.com/index.php/bepay/mypos

Redirect /bemyorder https://myduoli.com/index.php/bepay/beporders

#Redirect /mycart https://myduoli.com/index.php/bepay/mycart

Redirect /locationplus https://myduoli.com/index.php/bepay/myoffer/32/6/10

#redirect x video
Redirect /br1 https://artimondo.asia/index.php/arti/p/3-mediterranean-bruschette



#YIDUCITY.BIZ REDIRECTIONS
Redirect /en https://yiducity.biz/index.php/lang/en
Redirect /cn https://yiducity.biz/index.php/lang/cn
Redirect /ita https://yiducity.biz/index.php/lang/it

Redirect /beambassador https://yiducity.biz/index.php/ambassador/becity
Redirect /beambassadorita https://yiducity.biz/index.php/lang/it/beambassador
Redirect /beambassadoren https://yiducity.biz/index.php/lang/en/beambassador
Redirect /brands https://yiducity.biz/index.php/about/brands
Redirect /branden https://yiducity.biz/index.php/lang/en/brands
Redirect /brandita https://yiducity.biz/index.php/lang/it/brands
#YIDUCITY
Redirect /retailers https://yiducity.biz/index.php/about/retailer
Redirect /about https://yiducity.biz/index.php/about/yiducity
Redirect /aboutita https://yiducity.biz/index.php/lang/it/about
Redirect /abouten https://yiducity.biz/index.php/lang/en/about


#WECO
Redirect /wecocn https://wecoalliance.net/index.php/lang/cn
Redirect /wecoit https://wecoalliance.net/index.php/lang/it
Redirect /wecoen https://wecoalliance.net/index.php/lang/en

Redirect /wecopark https://wecoalliance.net/index.php/lang/en/wepark

#BEXPON
Redirect /becn https://bexpon.com/index.php/lang/cn
Redirect /beit https://bexpon.com/index.php/lang/it
Redirect /been https://bexpon.com/index.php/lang/en

#Redirect /weblog https://wecoalliance.net/index.php/blog


#Redirect /addlink https://myduoli.com/index.php/products/selectlink

RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA] 


</IfModule>

<IfModule mod_deflate.c>
  # force deflate for mangled headers
  # developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping/
  <IfModule mod_setenvif.c>
    <IfModule mod_headers.c>
      SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
      RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
    </IfModule>
  </IfModule>
  
  <ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

  # HTML, TXT, CSS, JavaScript, JSON, XML, HTC:
  <IfVersion >= 2.4>
<IfModule filter_module>
    FilterDeclare   COMPRESS
    FilterProvider  COMPRESS  DEFLATE "%{CONTENT_TYPE} =~ m|^text/html|"
    FilterProvider  COMPRESS  DEFLATE "%{CONTENT_TYPE} =~ m|^text/css|"
    FilterProvider  COMPRESS  DEFLATE "%{CONTENT_TYPE} =~ m|^text/javascript|"
    FilterProvider  COMPRESS  DEFLATE "%{CONTENT_TYPE} =~ m|^text/plain|"
    FilterProvider  COMPRESS  DEFLATE "%{CONTENT_TYPE} =~ m|^text/xml|"
    FilterProvider  COMPRESS  DEFLATE "%{CONTENT_TYPE} =~ m|^text/x-component|"
    FilterProvider  COMPRESS  DEFLATE "%{CONTENT_TYPE} =~ m|^application/javascript|"
    FilterProvider  COMPRESS  DEFLATE "%{CONTENT_TYPE} =~ m|^application/json|"
    FilterProvider  COMPRESS  DEFLATE "%{CONTENT_TYPE} =~ m|^application/xml|"
    FilterProvider  COMPRESS  DEFLATE "%{CONTENT_TYPE} =~ m|^application/x-javascript|"
    FilterChain     COMPRESS
    FilterProtocol  COMPRESS  change=yes;byteranges=no
</IfModule>

<IfModule mod_headers.c>
Header always  edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure;SameSite=None
</IfModule> 

</IfVersion>
  
  <IfVersion < 2.4>
  <IfModule filter_module>
    FilterDeclare   COMPRESS
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/html
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/css
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/plain
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/xml
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $text/x-component
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/javascript
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/json
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/xml
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/xhtml+xml
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/rss+xml
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/atom+xml
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/vnd.ms-fontobject
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $image/svg+xml
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $application/x-font-ttf
    FilterProvider  COMPRESS  DEFLATE resp=Content-Type $font/opentype
    FilterChain     COMPRESS
    FilterProtocol  COMPRESS  DEFLATE change=yes;byteranges=no
  </IfModule>
<ifmodule mod_headers.c>
Header set Set-Cookie HttpOnly;Secure;SameSite=None
</ifmodule> 

  </IfVersion>

  <IfModule !mod_filter.c>
    # Legacy versions of Apache
    AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
    AddOutputFilterByType DEFLATE application/xhtml+xml application/rss+xml
    AddOutputFilterByType DEFLATE application/atom+xml
    AddOutputFilterByType DEFLATE image/svg+xml application/vnd.ms-fontobject
    AddOutputFilterByType DEFLATE application/x-font-ttf font/opentype
  </IfModule>
</IfModule>

<ifModule mod_headers.c>
    Header set Connection keep-alive
</ifModule>

AuthName "admin"
AuthUserFile "/home/chinamed/.htpasswds/public_html/myduoli.com/passwd"

SetEnvIf Host wecoolkids.net passreq
SetEnvIf Host cittacommercio.it passreq
#SetEnvIf Host artimondo.asia passreq
#SetEnvIf Host artisancity.net passreq
SetEnvIf Host artisanlux.net passreq
SetEnvIf Host artisanstyle.net passreq
#SetEnvIf Host myitaliancenter.com passreq
#SetEnvIf Host ydfree.net passreq
AuthType Basic
AuthName "off line"
#AuthUserFile "/home/mybbupda/.htpasswds/public_html/ydmalls.net/passwd"
require valid-user
Order allow,deny
Allow from all
Deny from env=passreq
Satisfy any


<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 81.161.59.17
RewriteCond %{HTTP_REFERER} blog\.sina\.com\.cn/s/blog_16e55045e0102wzq1\.html [NC,OR]
