Hi
Using mod rewrite as suggested which works.
eg RewriteRule ^(.*)$ /modx/index.php?q=$1 [L,QSA]
Also using wayfinder, to generate navs etc.
The problem is, the links it generates are /modx/page-name.html instead of /page-name.html
I think wayfinder uses the modx->makeUrl method.
Looking around, i saw instances of a global variable called base_url, which gets assigned to member variable ($this->config). I would have thought this was stored in the config table.
Doesn’t seem to be.
Any ideas on how to set the output of wayfinder to generate the correct url?
System is installed in /httpdocs/modx
THanks.
i think is the correct way but test putting the original .htacces and thiink it works
it happens because the modx instalation is under a root subditectory and i think is the correct way if it doesnt do all links of the pages dont work.
I think the easiest way to fix it is to change the doc root in apache. Not ideal though...
Be good if someone can tell me if its a bug? Could it be wayfinder?
I mean its fine that the friendly urls and aliases work etc, but if the menu links that are generated aren’t correct, then the site has the wrong url.