so im doing SEO for a company and they have many 404 errors and for some reason the URL is duplicating itself for example "http://greenscapeenergy.co.uk/contact/www.greenscapeenergy.co.uk/privacy-policy/" all the 404s are with the privacy policy page after.
i want to bulk redirect anything with /privacy-policy/ in the url to redirect to the real privacy policy page. ive got this code so far but am stumped and hope anyone in the community could give me a hand!
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.greenscapeenergy\.co\.uk\privacy-policy\$
RewriteRule ^/?(.*)$ http://www.greenscapeenergy.co.uk/$1 [R=301,L]
can anyone help with this? thanks