Htaccess url rewrite issue

I have following urls:

http://www.mysite.com/component/myblog/
http://www.mysite.com/component/myblog/abc-edc-of-ddad-do-i-dad.html

I want to replace “myblog” with “blog” into the url by HTACCESS.

Can you pls assist me.

Hi,

this page will tell you all the steps you need. Just read the beginning of it and then find an example of what you want to do.

Thank you, Mallory, but the most important thing to learn about mod_rewrite is when NOT to use it. A simple substitution like that is best handled by a Redirect statement, i.e., Redirect 301 /component/myblog /component/blog .

Regards,

DK