How can I allow only one Fix Folder-Structure with .htaccess? Anything else 301

Posted by elmaso on Stack Overflow See other posts from Stack Overflow or by elmaso
Published on 2010-04-06T23:00:06Z Indexed on 2010/04/06 23:03 UTC
Read the original article Hit count: 280

Filed under:
|

Hello, how can I allow only one Folder-Structure with .htaccess like that:

http://www.example.com/**dynamicword**+FIXEDWORD1+FIXEDWORD2/

the dynamicword is not fix, anything else is 301:

http://www.example.com/**dynamicword**+FIXEDWORD1+mistype/mistype/ --> 301
http://www.example.com/**dynamicword**+FIXEDWORD1+mistype/mistype --> 301
http://www.example.com/**dynamicword**+FIXEDWORD1+FIXEDWORD2/mistype --> 301

Is that possible?

© Stack Overflow or respective owner

Related posts about htaccess

Related posts about redirect