Hi There,
Although I don’t fully understand what is going on in the background with friendly URLs, I’ve managed to follow the instructions on the wiki/forums etc and had them working great with our old host as well as locally using MAMP.
On the new host’s servers, friendly URLs seems to be working as the URLs are being rewritten but no page is diplayed - so I guess something’s not right.
Our new host requires a slightly different tweak to the .htaccess file than the last host and I wonder if it is causing issues with Modx? Here is what they suggest:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?id=$1 [L,QSA]
Note the / before index.php - my last .htaccess file just had index.php?...
Something else that is differnet is that when previewing our site the URL isn’t: sitename.hostname.com as it was with the last host.
But is: hostname.com/sitename/
Not sure if that matters though!
I also have a configuration error in Manager:
Configuration warning: ’register_globals is set to ON in your php.ini configuration file’
I’ve checked the settings on our account and the host has done the same thing and we both agrree it is set to off. However, the host thinks Modx is look at the master php.ini for their whole hosting cluster as opposed to the one in our account - does this make sense? Not sure if this has any effect on the friendly urls but thought I’d mention it just incase.
Any help would be much appreciated.
Cheers
Ben
PS made a donation to Modx today, if you haven’t already, you can do so here:
http://modxcms.com/community/donate.html