html - Webpage 410 Gone htaccess -


my website had been hacked , lots of pages had been added , these have been indexed google. has affected amount of traffic site receiving.

these pages all named along lines of - '?mulberry-948.html' different number each.

i have deleted these pages there links these lots of websites around web google still looking them.

is possible set of these pages gone (410) using .htacess in simple way without having add each file (over 10000 files).

i.e can begins '?mulberry' set gone?

thanks

if ?mulberry after page name, can with:

rewriteengine on rewritecond %{query_string} mulberry [nc] rewriterule ^ - [g,l] 

if it's in url (without ?) can use:

rewriteengine on rewriterule mulberry - [nc,g,l] 

you can use both, if not use word mulberry site.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -