As from the title, as soon as I add {MleCMS action=init} after {process_pagedata} CMSMLE breaks my site.
It's redirecting to https://en - completely removing my domain from the url
This may be stupid, but I'm back to CMSMS after a few years and saw extensions have changed and I found quite a few differences in templates.
Now I remember we used to have a modified .htaccess to fix the CMSMLE pretty urls, but I can't seem to find it anymore.
Pretty urls are enabled in the config and this is in m .htaccess:
Code: Select all
<IfModule rewrite_module>
RewriteEngine on
# If your CMSMS installation is in a subdirectory of your domain, you need to specify the relative path (from the root of the domain) here.
# In example: RewriteBase /[subdirectory name]
RewriteBase /
RewriteCond %{HTTP_HOST} www.mydomain.com
RewriteRule (.*) https://mydomain.com/$1 [R=301,L]
# Rewrites URLs in the form of /parent/child/grandchild 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]
</IfModule>
Thank you in advance!