I need some help on redirect 301 i almost got it


http://www.seo-danmark.dk/index.php ok 301
http://www.seo-danmark.dk////// ok 301
http://www.seo-danmark.dk//////ewdpokedkew ok 301
http://www.seo-danmark.dk/seo.phpdjwjewdi ok 301


http://www.seo-danmark.dk/seo.php/wodkjiewdjw not ok 302 redirect - need to be 301 redirect --> http://www.seo-danmark.dk/seo.php

i need this on all page http://www.seo-danmark.dk/whatever.php/edjiedjw - need to be 301 redirect ----> http://www.seo-danmark.dk/whatever.php

http://www.seo-danmark.dk/seo.php//////iewdjjewdjd load the page i need 301 redirect --> http://www.seo-danmark.dk/seo.php

i need this on all page http://www.seo-danmark.dk/whatever.php//////iewdjjewdjd 301 redirect ----> http://www.seo-danmark.dk/whatever.php


here is my htaccss


Options +FollowSymLinks
RewriteEngine On
RewriteBase /




<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>


ErrorDocument 404 http://www.seo-danmark.dk

#
RewriteCond %{HTTP_HOST} !=""
RewriteCond %{THE_REQUEST} ^[A-Z]+\s//+(.*)\sHTTP/[0-9.]+$ [OR]
RewriteCond %{THE_REQUEST} ^[A-Z]+\s(.*/)/+\sHTTP/[0-9.]+$
RewriteRule .* http://%{HTTP_HOST}/%1 [R=301,L]






RewriteEngine On
RewriteRule ^(.*)\/(\?.*)?$ $1$2 [R=301,L]



RewriteEngine On
RewriteCond %{HTTP_HOST} ^seo-danmark.dk [NC]
RewriteRule (.*) http://www.seo-danmark.dk/$1 [R=301,L]


RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} index.php



/Nikolas :-)