<![CDATA[ YAMS redirect wrong - MODX Community Forums]]> https://forums.modx.com/thread/?thread=85096 <![CDATA[YAMS redirect wrong]]> https://forums.modx.com/thread/85096/yams-redirect-wrong#dis-post-469288 I have a wierd problem (using MODx for years and this is the first time this happened to me).

Go to
http://www.ecos-yachting.com/

You should see the site rendering wrong. If you hit Ctrl+F5 (using Firefox) everything "return to normal"!

My .htaccess looks like this:

# Friendly URLs
RewriteEngine On
RewriteBase /

# 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]

# Redirect from mydomain.com/rootname to mydomain.com/rootname/
RewriteRule ^de$ de/ [R=301,L]
RewriteRule ^hr$ hr/ [R=301,L]
RewriteRule ^fr$ fr/ [R=301,L]
RewriteRule ^ru$ ru/ [R=301,L]
RewriteRule ^it$ it/ [R=301,L]
RewriteRule ^ce$ ce/ [R=301,L]
RewriteRule ^po$ po/ [R=301,L]

# The Friendly URLs part
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ce/(.*)$ index.php?q=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^po/(.*)$ index.php?q=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^it/(.*)$ index.php?q=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ru/(.*)$ index.php?q=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^de/(.*)$ index.php?q=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^hr/(.*)$ index.php?q=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^fr/(.*)$ index.php?q=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]


I'm using MODx 1.0.8. and YAMS
Can you please help me out with this?]]>
Mproject Jun 17, 2013, 04:55 PM https://forums.modx.com/thread/85096/yams-redirect-wrong#dis-post-469288