CMSMLE redirecting to https://en - removing my domain from the url

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
noosphere
Forum Members
Forum Members
Posts: 54
Joined: Tue Feb 26, 2008 9:20 am

CMSMLE redirecting to https://en - removing my domain from the url

Post by noosphere »

Hello!

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>
Any help to point me to the right direction would be highly appreciated.

Thank you in advance!
User avatar
noosphere
Forum Members
Forum Members
Posts: 54
Joined: Tue Feb 26, 2008 9:20 am

Re: CMSMLE redirecting to https://en - removing my domain from the url

Post by noosphere »

creopard wrote: Fri Apr 25, 2025 9:01 am Maybe that ancient knowledge helps?
https://web.archive.org/web/20170508123 ... ms-module/
Thank you for the web archive link. It actually shows only the basic setup you do in the admin site, which has not changed. It does not mention the extra steps, but I'll try download the old modules and check in their docs eventually it may take me to the right direction ;-)
Post Reply

Return to “Modules/Add-Ons”