Rochen Web Hosting

As of January 1st 2018 my site is hosted at Rochen. I stopped using nearlyfreespeech because of difficulties installing Joomla updates. The default settings and behavior of NFS's envirnoment made maintaining a Joomla site an uphill battle. Rochen caters to Joomla (and other CMS options) so installing and maintaining a Joomla site is more straight forward. Rochen is not as cheap s NFS but the pricing very attractive for what you get. Infact if you need email Rochen hosting is a steal.

NFS Web Hosting

My site was hosted at for a year or so, I hand coded HTML files that I sent to the NFS servers along with the accompaninlg media via SFTP using Forklift. In December of 2016 I moved my site to Joomla 3. In the process I had to overcome a few hurdles to make it meet my needs. I think anybody hosting any "normal" website will also run into these problems so I though I'd share the solutions here:

How do I install Joomla on web hosting?

Installing Joomla on hosted sites isn't hard however you'll lose everything you already have at so if you want to save anything (content, articles, code, etc.) you should copy your files first.

Joomla runs on a database. To get one up and running on your account you'll need to log into you account and do two things, create a process and create a database.

To start a MySQL process click the "mysql" tab, then click the "Create a New MySQL Process" in the Actions menu on the right side of the screen. You should get the screen below:


NFS mysql

 Give the process a name, select a type (usually the top option), then click "Create New Process" at the bottom. Shortly afterward you will receive an email from NFS that will provide you with the credentials you'll need for the next step. It will look something like this:


Automatic configuration of your MySQL process has been completed. Here is the information you will need to access it:

MySQL Hostname (DSN): samplename.db
MySQL Admin Username: xxxxxx
MySQL Admin Password: XxXxXxXxXx
Your MySQL admin username has full privileges to manage this process.

The second step is to create a database. Clicking the "mysql" tab, then click on the name of the process you just created (it will be listed under the heading DSN). On the next screen click the "Create a Database" link in the Actions menu on the right side of the screen. You should get a screen like this:create db

In the New Database Name field enter a name for your database, in the MySQL Admin Password field enter the password provided in the email from Click "Create Database". Now you have the database ready, lets move to the installation of Joomla.

Download Joomla. The file you get will be a zip file. (I suggest unpacking the file on your local machine. Supposedly you can upload the zip file to NFS then unzip it once it's there but I couldn't get it to unzip.) Make sure the directory /HOME/PUBLIC is empty. FTP the Joomla files into the /HOME/PUBLIC driectory. Now that you have the Joomla files on the server you have to do some command line jiggery-pokery.

There is some command like stuff that needs to be done via SSH to get Joomla going. SInce I have a Mac I used Terminal to SSH into my account. To get your SSH login credentials from nearlyfreespeech clicking on the "sites" tab, then clicking on your site's "short name". In the box titled "FTP/SFTP/SSH Information" you need to get your "Username" and "SSH/SFTP Hostname".

Launch Terminal and type:

SSH username@sshhostname

 When prompted enter your password and your prompt should change to /home/public.

This next bit I got from Type each line one at a time, hitting enter after each one. Some commands don't take long so you'll get a new prompt immediately and some commands take time to execute so you may have to wait a few seconds before the prompt returns.

> mv htaccess.txt .htaccess
> touch configuration.php
> chgrp -R web *
> find . -type f -exec chmod 664 {} \;
> find . -type d -exec chmod 775 {} \


Well that's it. You can type ls -la at the prompt and your directory should look like this:

ssh directory

If everything looks good type logout and close Terminal. If things did not go well you are on your own because I really don't know much about what just happened.

At this point the Joomla files are ready. The next step is done thru your web browser, go to and you should see the Joomla configuration screen.


Here you setup the values you want to use for your site.


Here is where the email you received from comes in handy. On the Database page enter the following settings using the values provided in the email from nfs:

Database type: MySQLi
Host Name: samplename.db (this is in the email from nfs)
Username: XxXxXx (this is from the email)
Password: XxXxXx (this is from the email)
Prefix: (leave this feild alone)
Old Database Process: Remove

 At this point the installation is done so you should get rid of the installation folder. You can do that via FTP or by firing up Terminal again, loging in via SSH like before and typeing the following:

rm -R installation/

Now that Joomla is installed and the database is connected you are ready to use Joomla and begin uploading content. Go to and log in using the credentials you created on the Configurations page.

 Back to top

How do i remove the "/index.php" from the URLs Joomla Produces?

By default the URLs that Joomla produces will look like this:

Obviously the "index.php" portion is not helping anybody and the URL would read much cleaner if that wasn't there. To remove that you have to do two things, change Global Configuration in Joomla and make a small change to the .htaccess file. Let's cover changing the setting in Joomla first. From the Control Panel select Global from the Configuration menu.

conf global

On the Global Configuration page find Use URL Rewriting setting and set it to Yes.

rewrite urls

Now using the tool of your choice find and edit the .htaccess file in the /home/public/ directory. I used Forklift and Textwrangler to access and edit the file. Depending on what you use, you will probably have to find a setting like "show hidden files" to make .htaccess visible. The only change you need to make is to remove the "#" from in front of the line that says "# RewriteBase /". Once you've removed the # save the file and close it.

Now when you reload your site you'll see that the URLs no longer have the index.php in them!

 Back to top

How do I upload large files to MY Joomla site hosted on

When I first started using Joomla the first problem I ran into is the small maximum file size limit Joomla lets you upload.  To increase this limit you need to make changes in both Joomla and the database.

To make the adjustment in Joomla go to the Media Manager and click the Options button.

media options

Find the Maximum Size (in MB) field and enter a value that makes sense for you. I went with 200.



The next setp is to increase the setting of your MySQL database. doesn't provide an easy way to do this so you'll have to create a file with the settings you want and upload it via sFTP or SSH. The file needs to be in "plain text" so you need to use a program that saves files in plain text, I use the free and awesome Textwrangler. Create a new file and save it as php.ini. This file should consist of two lines that read:

upload_max_filesize = "200M"
post_max_size = "200M"

Use whatever values you used in the Joomla settings, include the "M" at the end of the value.

Upload the file to the /home/conf directory. According to nearlyfreespeech you may need to wait a while for the settings to take hold. Once the file has been parsed on nfs's end you will be able to upload files up to the limit you just set.

 Back to top

How do I upload video/movie files to my Joomla site using the Media Manager?

To upload movies with the Media Manager all you need to do is add the movie file extension to the Legal Extensions listed on the Media Options tab. To access the Legal Extensions field go to the Media Manager and click Options.

media options

In the Legal Extensions field add the file type extension you need such as mp4, mov, etc. The trick is you need to keep the list in alphabetical order! Just adding the extension to the end of the list won't work. (That issue wasted an hour of my life).


That's it, you should be good to go to upload the files. Keep in mind the uploaded videos won't show up in default article editor, since there is not an "add video" button. You can use the Media Manager to upload the video but once it's there you can see it with the Media Manager, you'll have to read the next section to learn how to place your video files on your pages.

 Back to top

How do I place video/movie files on my Joomla web pages?

Joomla's default artcile editor doesn't have a video button so you either need to get an extension like AllVideos from Joomlaworks to handle videos or upload your videos manually and write some HTML code like this:

<video type="video/quicktime" controls="controls" width="640" height="360" name="name_I_want" src="/images/"></video>

You can learn more about the video tage here.

But wait! If you've tried this you already know that Joomla strips the <video> tag from your code. That's because the default settings in Joomla prohibit the <video> tag. To fix this you'll need to change the Text Filtering settings. Click on System, then Global Congifuration.

global config

Click the Text Filtering tab, find the Administrator and Super User groups and set Filtering Type to No Filtering for both of them.

text filtering

Be sure to click Save & Close to save the new settings. Now Joomla won't strip the <video> or <iframe> tags. If you want to use <iframe> tag you have one aditional step, read the next section,

 Back to top


The problem with getting Youtube videos embeded in your Joomla pages is that by default Joomla blocks the <iframe> tag. To allow the <iframe> tag you have to remove it to the Prohibited Elements field and if you use the JCE editor you need to edit a setting in the proper profile (see below). To access the Prohibited Elements field go to Extensions and select Plugin.


In the search field type editor click the magnafine glass and select "Editor - TinyMCE" from the search results.

search plugin

In the resulting page scroll down until you see the Prohibited Elements field. Delete the word iframe from that field so it looks like this:

prohibited elements

Make sure you click the Save & Close button. If you haven't aready changed the Text Filtering setting mentioned above you'll need to do that as well. Now you can use the Youtube embed codes in the article editor's source code view.

If you use the JCE Editor you need to take an additional step to prevent the <iframe> tag from being stripped. 

Go to Components>JCE Editor>Profiles

Finding JCE Profile

Once you get to the Profiles tab, click on "Default" (or any other profile you have active and are using).


Click on Plugin Parameters, then scroll down until you can click on the "Media Support" icon.

 Media support

Make sure "Allow IFrames" is set to "Yes"

 iFrame radio buttons

Make sure you save before exiting.

 Back to top