Pregunta

Bad theme I think was causing this.

/product-tag/pots/</p

...and I have tried many iterations from other similar questions, but the

RewriteRule ^(.*)/(<\/p>)+$/ http://www.mysite.co.uk [R=301,NC,L]

with no success.

¿Fue útil?

Solución

You can use this rule as your first rule:

RewriteEngine On

RewriteRule ^(.*?)/</p /$1/ [R=301,NC,L]
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top