Hi,
can someone tell me if myhtaccess file has errors.
I sometimes have problems with my site, could be the host.
Just would like to be sure it is not my problem:
# 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 ^en$ en/ [R=301,L]
RewriteRule ^it$ it/ [R=301,L]
# The Friendly URLs part
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^en/(.*)$ 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 ^(.*)$ index.php?q=$1 [L,QSA]
#always add www - change your domain
RewriteCond %{HTTP_HOST} ^tillda*
RewriteRule ^/*(.*)$ http://www.mysite.com/$1 [L,R=301,QSA]
Edit, I reinstalled Modx because after one or two clicks my site would bee unavailable. WHen I used an index.html on my site, all was okay. So it was noy host related (Iguess), and indeed, Modx seems stable again. I will try and reinstall yamss again perheps not the latest version however. Anyone had the same problem?
fr