Alessandro Posted March 15, 2021 Share Posted March 15, 2021 (edited) Hello, i need to use a cms page as the homepage for my site. Let's say my url is domain.com, and my cms is homepage.com/cms/10-test I need to still show the url domain.com, but to show the content of the page homepage.com/cms/10-test. I tried different solutions by modifiyng .htaccess and IndexController.php, but i couldn't figure it out. Can somebody please help me? Thanks. Edited March 15, 2021 by Alessandro Grammar corrections (see edit history) Link to comment Share on other sites More sharing options...
R.Shredder Posted June 12 Share Posted June 12 Hey there. I know this is quite an old topic but i'm trying to do the same on 1.7. DirectoryIndex in htaccess doesn't seem to do the trick. There might be a way to do it in indexController.php with some sort of : Tools::redirect('index.php?id_cms=12&controller=cms') but sadly i got not idea how to write it properly... Any help would be highly appreciated :) Link to comment Share on other sites More sharing options...
Nickz Posted June 12 Share Posted June 12 I would set the shop a level lower. so the shop would be in a folder like shop, that makes it posible to add html5 before and you have more design freedom. Link to comment Share on other sites More sharing options...
R.Shredder Posted June 12 Share Posted June 12 5 minutes ago, Nickz said: I would set the shop a level lower. so the shop would be in a folder like shop, that makes it posible to add html5 before and you have more design freedom. Hey Nickz! Thanks for your answer The design isn't really the issue. I used a visual editor (such as crazy elements) and it works just fine. My problem is really replacing the default index with the existing cms page (content/11-pagename). 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