[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Howto AliasMatch?



Thanks David! That hit the spot. Even better than just giving me the code -
I've been puzzeled by the regexps for some time - now I know.
You are right - I could just delete the files and redirect traffic with a
404, but some of the pages are listed in search engines and I don't want
the spiders to find a 404 and delete the listing.

>It's not the answer you expected, but here's a hint: the "([^/]+)(/(. "
>you're talking about are "Regular Expressions", or often called 'regexp'.
>You can learn about 'em here:
>http://www.phpbuilder.com/columns/dario19990616.php3
>
>Now, maybe you should just delete all those .htm files and thus, it'd lead
>people to a 404 pages... it's that simple. Or maybe i didn't catch your
>question...