Remove part of the URL with .htaccess

Posted by Gabriel Bianconi on Stack Overflow See other posts from Stack Overflow or by Gabriel Bianconi
Published on 2010-05-03T20:20:51Z Indexed on 2010/05/03 20:28 UTC
Read the original article Hit count: 297

Filed under:

Hello.

I've changed some settings in my website, and now I need to redirect from:

www.plugb.com/home/game/a
www.plugb.com/home/something/else
www.plugb.com/home/game/b
...

to

www.plugb.com/game/a
www.plugb.com/something/else
www.plugb.com/game/b
...

I don't know how to do this with .htaccess. BTW, I'm using CodeIgniter.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about .htaccess