Forum Moderators: phranque
These posts are coming from reputable sites and I feel the link would be worth something. Would it be fine to use a 301 to redirect this to my homepage?
# Redirect URLs containing valid characters to remove trailing invalid characters
RewriteRule ^([/0-9a-z._\-]*)[^/0-9a-z._\-] http://www.example.com/$1 [NC,R=301,L]
You can follow this with a second rule that specifically removes trailing punctuation if you like:
RewriteRule ^(.*)[^/0-9a-z]+$ http://www.example.com/$1 [NC,R=301,L]
Jim