Forum Moderators: phranque
All those files have the same extension, let's say
domain.com/blah-one-two where blah changes, sometimes it's in caps and sometimes it's two words so it has blah%20blah-one-two. The "-one-two" is the only pattern and it's unique. Can I rewrite it so, so next time Google looks for these files it finds error 410? I have heard that they will remove them after that.
If so, where can I start looking?
thanks in advance
ON EDIT:
I have this: RewriteRule ^$ [domain.com...] [R=301,L]
to redirect any /domain.com/?test to my index. Can I modify it to something like:
RewriteRule ^$ [domain.com...] [R=410,L]
It's important that only that extension is gone :)
Essentially I want Google to see that /anything-one-two is Gone /410.
RewriteEngine on
RewriteRule -one-two$ - [G,L]
will the L ruin it or it's needed?
UPDATE: It worked! The error message is displayed
thanks again