?sef_rewrite=1 added to urls

Hi All,



I am trying to redirect pages from my old site to their new counterparts.

I have already successfully redirected the old dynamic URL's to their new counterparts, but its the static URL redirection that is giving me trouble (ironic eh?). You might notice the fact that all my redirects have the [L] flag, where normally only the last one would, but if I remove the flag from a redirect, the redirect fails for some reason ( I mention this in case its related) .



Anyhow, my question is how do I stop the default.asp redirect to domain root from appending the URL with ?sef_rewrite=1







Here is the content of my .htaccess file:



DirectoryIndex index.html index.php











Options +FollowSymLinks

RewriteEngine on






Some hostings require RewriteBase to be uncommented


# Example:

# Your store url is http://www.yourcompany.com/store/cart

# So "RewriteBase" should be:

# RewriteBase /store/cart

# Begin Rewrite Rules

RewriteCond %{REQUEST_URI} .*\/default\.asp
RewriteRule ^.*$ http://www.confettiheaven.co.uk/ [L,R=301]

RewriteCond %{QUERY_STRING} default.asp
RewriteRule ^.*$ http://www.confettiheaven.co.uk/$1? [R=301,L]

RewriteCond %{QUERY_STRING} idCategory=2017
RewriteRule ^index\.php$ http://www.confettiheaven.co.uk/wedding-favours/wedding-cake-boxes.html$1? [R=301,L]

RewriteCond %{QUERY_STRING} idCategory=2015
RewriteRule ^index\.php$ http://www.confettiheaven.co.uk/wedding-favours/wedding-favours-en/mens-favours.html$1? [R=301,L]

RewriteCond %{QUERY_STRING} idCategory=2014
RewriteRule ^index\.php$ http://www.confettiheaven.co.uk/wedding-favours.html$1? [R=301,L]

# End Rewrite Rules


RewriteBase /

RewriteCond %{REQUEST_FILENAME} !\.(png|gif|ico|swf|jpe?g|js|css)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php?sef_rewrite=1 [L,QSA]