redirection opencart non www

Redirect my website from non-www to the www version in Opencart

In this article we are showing how to redirect non-www opencart website to www version. We have to add just a piece of code to htaccess file. Dont follow to implement step 2 to avoid admin login error and broken…