I need help modify a file .htaccess delete characters from URL and redirect. The file .htaccess is currently empty.
- I want to change the word
article
to the wordtopic
in all the URLs.
The current URL:
www.example.com/index.php?action=article&cat_id=011&id=37&lang=en
- I want to delete the last characters of the URLs
&lang=en
and some URLs&lang=
The current URLs:
www.example.com/index.php?action=article&cat_id=011&id=37&lang=en
www.example.com/?action=article&cat_id=011&id=37&lang=
So the final URL:
www.example.com/index.php?action=topic&cat_id=011&id=37
www.example.com/?action=topic&cat_id=011&id=37