Htaccess url rewrite issue

I have following urls:

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

Can you pls assist me.


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 .