tom-pouce Posted December 4, 2012 Share Posted December 4, 2012 (edited) Hi, I don't want to display the homepage and I want that my users arrive on a category page. How can I do that? I've tried to do it in htaccess, with a redirection on index.php to index.php?category_id=1 but it break the inscription form. Error : Technical error unable to load form Edited December 4, 2012 by tom-pouce (see edit history) Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted December 4, 2012 Share Posted December 4, 2012 (edited) Hi, what version do you use? For 1.5.x try it: class IndexController extends IndexControllerCore { public function initContent() { Tools::redirect('index.php?id_category=2&controller=category'); } } Regards Edited December 4, 2012 by Alexander Simonchik (see edit history) 1 Link to comment Share on other sites More sharing options...
tom-pouce Posted December 4, 2012 Author Share Posted December 4, 2012 PERFECT. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now