I am keeping modx in sub folder for testing but for a reason. This way I van have my current website up and when I am done I do not have to move modx and database to server. But I understand that it is harder this way. Still if anyone can help, please.
Here is my config:
.htaccess in sub folder
RewriteEngine On
RewriteBase /munkak/modx/
# The Friendly URLs part
# redirect all requests to /en/favicon.ico
# to /favicon.ico
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(en|hu)/favicon.ico$ favicon.ico [L,QSA]
# redirect all requests to /hu/assets* to /assets*
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(en|hu)/assets(.*)$ assets$2 [L,QSA]
# redirect all other requests to /en/*
# to index.php and set the cultureKey parameter
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(en|hu)?/?(.*)$ index.php?cultureKey=$1&q=$2 [L,QSA]
My site is at:
http://mydomain.com/munkak/modx/
and I have two languages: web: English (default) and Magyar (Hungarian)
English is working fine but when I try to swith to Hu it sas:
in firefox
503 Error
Page not found
The page you requested was not found.
safari: too many redirects
in my root .htaccess
DirectoryIndex index.php index.html index.htm
Options -Indexes
RewriteOptions MaxRedirects=10
THx