i'm creating a website with CMS made simple version 1.11.11 and i use the listit2 module version 1.4.1 .
Now this module only can generate urls in this form:
http://example.com/listit2/item-alias/page-id
Now, i don't care about the page id which is used to show the correct template,
but since this is a multilingual website i would like listit2 to apear behind my (virtual) language folder:
http://example.com/nl/listit2/item-alias/page-id
so i added 2 rewrite lines in my htaccess file, right before the general rewrite rules of CMSMS.
Code: Select all
RewriteCond %{HTTP_HOST} ^lang/listit2 [NC]
RewriteRule ^nl/listit2(.*)$ listit2$1
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
How, can i solve this?