-
MODX Staff
- 2,502 Posts
Are you using custom templtates? How recently did you install MG? What version?
MG Normally gets the URL from the base URL in your config.php file.
Is this a Windows server?
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub
Yes it’s a custom template, latest MG and MODx versions, linux server, I’ll check config.php again.
Thanks.
edit: checked it, base path and url are being automatically generated.
edit2: tried to override the auto detection and even commented out the auto detection code to no avail.
Rewrite browser paths? No
Use friendly URLs: Yes
Use friendly aliases: Yes
Use friendly alias path: Yes
Allow duplicate aliases: Yes
htaccess
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
btw: I know if that I edit the lang file I can fix this, but that’s not a ’real’ solution =|
-
MODX Staff
- 10,725 Posts
Sounds like you are missing your <base href="[(site_url)]"></base> tag in the <head>.
Thank you all, that missing base tag was the problem.
( I was also missing the html tag haha, sacrilege =X )