lucy24 - 8:05 pm on Apr 16, 2013 (gmt 0)
We need way more information. Write the wrong rule and you'll be flooded with requests for
You can't ask Apache to stop, look at every page request letter by letter, and see whether it can be broken into multiple elements at any point. You need to know ahead of time where to look.
So the first question is: Does the problem apply to one specific directory? Or to a limited number of directories that htaccess can search for by name?
And the second question is: Where are these links coming from?
--If they are your own internal links, fix them right now. In fact, do this before you set up the redirect. Redirects are for other people's mistakes, not your own.
--If they are from people you're in contact with, similarly ask them to fix it. Search engines may or may not care-- but you can be pretty sure that a link leading to a redirect will not help you.
Third question: What's in your htaccess already? If you have anything at all involving mod_rewrite, your new redirect has to be configured as a RewriteRule. If you don't, it can be done with mod_alias (Redirect by that name).