301 redirect on URL starting with a number

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-03-30T00:24:51Z Indexed on 2010/03/30 0:33 UTC
Read the original article Hit count: 367

Filed under:
|
|

How can I 301 redirect any URL that starts with a number between 1 - 9999, for example

domain.com/12/something/anotherthing

domain.com/378/product/widgets

domain.com/2560

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about regex