I grunden utav din www map så bör det ligga en fil som heter .htaccess och det första som skall stå i den är:<br /><br />[code]Options +FollowSymlinks<br />Options -Indexes<br />RewriteEngine on[/code]<br /><br />och sedan det som den föreslog. Du kan få se hur min till min hemsida ser ut<br /><br />[code]Options +FollowSymlinks<br />Options -Indexes<br />RewriteEngine on<br /><br />#Removes the www from [url=http://www.shadowgames.org]www.shadowgames.org[/url]<br />RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]<br />RewriteRule ^(.*)$ http://shadowgames.org/$1 [L,R=301]<br /><br />#Redirects shadowgames.org/forum/index.php to forum.shadowgames.org<br />RewriteCond %{HTTP_HOST} ^shadowgames\.org\/forum\/index\.php$ [NC]<br />RewriteRule ^(.*)$ http://forum.shadowgames.org/$1 [L,R=301]<br /><br />RewriteCond %{HTTP_HOST} ^www\.forum\.shadowgames\.org\/forum\/index\.php$ [NC]<br />RewriteRule ^(.*)$ http://forum.shadowgames.org/$1 [L,R=301]<br /><br /># Change urlpath.html to urlpath<br />RewriteCond %{REQUEST_FILENAME} !-d<br />RewriteCond %{REQUEST_FILENAME}\.html -f<br />RewriteRule ^(.*)/$ $1.html <br /><br /># Changes the urlpath.php to urlpath<br />RewriteCond %{REQUEST_FILENAME} !-d<br />RewriteCond %{REQUEST_FILENAME}\.php -f<br />RewriteRule ^(.*)$ $1.php<br /><br />RewriteCond %{REQUEST_FILENAME} !-f<br />RewriteCond %{REQUEST_FILENAME} !-d<br />RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$<br />RewriteRule (.*)$ /$1/ [R=301,L]<br /><br />ErrorDocument 404 /notfound.php[/code]