So I remade the site after installing CMS. (The directory for it is like this: server/Hallingkast) I do not host the server, but I know it is a Linux server, with PHP enabled.
Now, I have made all the new pages, they are all different, since I haven't learned enough to use tabbed panels on one page etc (spry tabs I think it was called) I know virtually nothing about code yet, and I am learning slowly. I called the new main page index, and then just used that as the parent site. So when I go to the preview page for the index-site, I have all of the other sites in the menu. Every link worked fine. Then I added the .htaccess file, and tried to enable mod_rewrite and pretty urls. Now everything almost works fine. The thing that does not work, is the links. When trying to go anywhere, I get this error:
I am sure there is something very simple I have missed, but having no coding experience, I just have no idea what.Not Found
The requested URL /index/klubbrekorder/ was not found on this server.
Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.7d DAV/2 PHP/4.4.4 PHP/5.1.4 Server at www.hallingkast.no Port 80
This is my .htaccess file (which I have scrounged from this forum, in trying to figure out what was wrong):
# Enable URL rewriting
RewriteEngine on
RewriteBase /
# Rewrite URLs of the form 'index.php?page=x&print=true':
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule ^print/(.*)$ index.php?print=true&page=$1 [L,QSA]
# Rewrite URLs of the form 'index.php?page=x':
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?page=$1 [L,QSA]
# Rewrites /page.php as /page
#RewriteRule ^/?(.*)\.php$ $1 [QSA]
# Rewrites /page as index.php?page
#RewriteRule ^([^/]*)$ index.php?page=$1 [L,QSA]
# Disables admin rewriting
#RewriteRule ^/?admin/?$ /admin/index.php [QSA]

