.htaccess redirect after replace a word

Posted by Farzad on Stack Overflow See other posts from Stack Overflow or by Farzad
Published on 2010-03-30T22:08:36Z Indexed on 2010/03/30 22:13 UTC
Read the original article Hit count: 262

Filed under:

Hello, I need to use .htaccess file to replace a world in URL

something like this:

example URL: www.hotourism.com/banknotes/banknotes/asia/vietnam/

redirect to: www.hotourism.com/countries-banknotes/banknotes/asia/vietnam/

how can I use mod_rewrite to redirect every URL containt "/banknotes/banknotes/" to the same URL after replacing that word?

© Stack Overflow or respective owner

Related posts about .htaccess