Hello, there was such a question. I need to make a redirect on the site (site on CI), using .htaccess. Firstly, the problem is this: .htaccess does not work as it should (redirecting to http://site.ru , the site itself is loaded first, and then the redirect to the specified link, the result is: http: // first-site .ru / site.ru / instead of http://site.ru ), secondly, how to make the class be loaded by default not to the main site (url), like http://site.ru , but it was created url with class: http://site.ru/class/.
Tell me how to solve