First,you should find custome_home.phtml
block name layout files or from backedn,
then using <referenceBlock name="BlockName" remove="true"/>
from lyaout.
There are two way,you can do this:
From admin
Goto admin>Content>Page> then select your cms page>
and after that add below at code Design tab at your CMS home page at backend
<referenceContainer name="ParentContainerName">
<referenceBlock name="BlocknameatLyaout" remove="true"/></referenceContainer>
From Layout file:
Goto app/design/frontend/[VendorTheme]/[ThemeName]/Magento_Cms/layout/cms_index_index.xml and below code
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<!-- add this code for remove block -->
<referenceBlock name="BlockName" remove="true"/>
</body>
</page>
You can use Magento\Framework\View\Element\Template
basic template.
Try this:
<div id="something">
{{block class="Magento\Framework\View\Element\Template" name="test" template="path/to/my/file.phtml" }}
</div>
This should work.
UPDATE:
If you need to display product information you have to use blocks from prduct view. Example:
<div id="something">
{{block class="Magento\Catalog\Block\Product\View\Description" name="test" template="path/to/my/file.phtml" }}
</div>
PHTML file position depends on your architecture. If you are not embedding this in a module you could put it in your template.
Example:
<div id="something">
{{block class="Magento\Catalog\Block\Product\View\Description" name="test" template="Magento_Theme::mytemplate.phtml" }}
</div>
And put your file under: design/frontend/yourtheme/default/Magento_Theme/mytemplate.phtml
Best Answer
URL rewrites will remove index.php from url
How to enable URL rewrites?
Hope this will help you.