Rewrite and redirect

Permalink
Hello good people.

I made a new website for my sister. I created it in a subfolder to make the launch as smooth as possible. The idea was to write a redirect in .htaccess to make the folder the new "root" of the website. It worked fine except for two issues.

1. Since I have two language versions of the site, I used a redirect add-on to make the Norwegian starting point the home page. After redirect this does not work anymore (it is supposed to be cellista.no/site2/no

2. I want the folder /site2/ to be hidden in the browsers address bar, so it only shows cellista.no/no instead of cellista.no/site2/no

Is this possible?

Here is the .htaccess file code

AddHandler phpini-cgi .php
Action phpini-cgi /cgi-bin/php5-custom-ini.cgi
# Do not change this line.
RewriteEngine on
# Change yourdomain.com to be your main domain.
RewriteCond %{HTTP_HOST} ^(www.)?cellista.no$ [NC]
# Change 'subfolder' to be the folder you will use for your main domain.
RewriteCond %{REQUEST_URI} !^/site2/
# Don't change these lines.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Change 'subfolder' to be the folder you will use for your main domain.
RewriteRule ^(.*)$ /site2/$1 [L]
# Change yourdomain.com to be your main domain again.
# Change 'subfolder' to be the folder you will use for your main domain

djoniba