vrijdag 5 maart 2010

Joomla configuration on one.com hosting

I had some issues configuring joomla for a one.com hosting.

SEF

First of all the SEF (Search Engine Friendly) urls didn't work out of the box. A quick search on the Internet learned me that I had to update the .htaccess with the one provided by joomla. In that file you also have to comment a single line. Change:

Options +FollowSymLinks

to:
#Options +FollowSymLinks


Then configure Joomla by enabling ALL 3 options for SEF. In configuration.php file that is:

 var $sef = '1';
var $sef_rewrite = '1';
var $sef_suffix = '1';


Mail

Another option that didn't work out of the box was the mail option. For this I had to contact the one.com helpdesk because the settings were different all over the Internet. They let me know that the email you're sending with has to be one hosted by them. So your gmail or any unknow address won't work. Next I had to set some settings in joomla to get that working as well. In configuration.php file:

 var $mailer = 'smtp';
var $mailfrom = 'YOUR_EMAIL_HOSTED_BY_ONE_COM';
var $fromname = 'YOUR NAME';
var $sendmail = '/usr/sbin/sendmail';
var $smtpauth = '0';
var $smtpsecure = 'none';
var $smtpport = '25';
var $smtpuser = 'YOUR_USERNAME';
var $smtppass = 'YOUR_PASSWORD';
var $smtphost = 'mailout.one.com';


This worked. The tricky part is that the contact form on the joomla website didn't even give me a warning this wasn't working. Make sure to test it!

And off course these settings can be done in the frontend as well but I'm to lazy to create screenshots.

1 opmerking: