|
Redirect URL using htaccess after removing a word from the url
Hi
I recently used a language translation wordpress plugin on a blog, that inserted language short codes after the URL and before posts like
for ex. http://www.example.com/es/post-title
similarly to all other languages, but now on disabling the plugin google search visitors would not find that page, i would like to redirect the search engine visitors to
http://www.example.com/post-title removing the language shortcodes.
I would like to know what code to place in the .htaccess file for such a redirection.
-Thanks.
|