0

Our home page is constant, there is no changes in time.

I've generated exact .html copy of home page and it's served much faster.

How can i make magento use my home1.html page as home page?

3
  • you can put your html code into cms page and make it as home pageby Admin -> System -> Configuration -> General (Left) -> Web > Default Pages -> CMS Home Page Commented May 19, 2017 at 6:11
  • i already did, but still there is the difference. cms page is faster than let say product page, but pure html is much faster than cms page.
    – MployBy
    Commented May 19, 2017 at 9:10
  • You can select layout 'empty'. Not 1column, 2columns-left,... so you get rid of header, footer and all unnecessary stuff that comes with Magento default template and you can add your own stuff.
    – Anitr
    Commented May 19, 2017 at 10:40

1 Answer 1

0

You can use/call your template inside your cms(home) page.

{{block type="core/template" template="theme/your_path/home1.phtml"  name="myname"}}
2
  • i need html, did you mean {{block type="core/template" template="theme/your_path/home1.html" name="myname"}} ?
    – MployBy
    Commented May 19, 2017 at 9:11
  • You can your html code inside phtml file. Commented May 19, 2017 at 9:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.