I deleted the footer.php file and uploaded a new version from the cms made simple download!
My .htaccess document is...
RewriteEngine On
RewriteCond %{HTTP_HOST} ^
www.mydomain.co.uk$ [nc]
RewriteCond %{REQUEST_URI} !^/myfolder/*
RewriteRule (.*) /myfolder/$1 [L]
RewriteBase /product/
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
and my config.php is set to:
#------------
#URL Settings
#------------
#Show mod_rewrite URLs in the menu? You must enable 'use_hierarchy' for this to work for modules
$config['assume_mod_rewrite'] = true;
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '.html';
#If you don't use mod_rewrite, then would you like to use the built-in
#pretty url mechanism? This will not work with IIS and the {metadata} tag
#should be in all of your templates before enabling.
$config['internal_pretty_urls'] = false;
#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy? (ex.
http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = false;
#If using none of the above options, what should we be using for the query string
#variable? (ex.
http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = 'page';
#-------------
#Path Settings
#-------------
#Document root as seen from the webserver. No slash at the end
#If page is requested with https use https as root url
#e.g.
http://blah.com
$config['root_url'] = '
http://yoursite.com/thenameofthefolder';
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on')
{
$config['root_url'] = str_replace('http','https',$config['root_url']);
}
#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = '/homepages/24/d151200904/htdocs/thenameofthefolder';
#Name of the admin directory
$config['admin_dir'] = 'admin';
#Where do previews get stored temporarily? It defaults to tmp/cache.
$config['previews_path'] = '/homepages/24/d151200904/htdocs/thenameofthefolder/tmp/cache';
#Where are uploaded files put? This defaults to uploads.
$config['uploads_path'] = '/homepages/24/d151200904/htdocs/thenameofthefolder/uploads';
#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/uploads';
Thanks for all your help!
Jane