Magento 2 Create the Contact page on CMS


Normally the Magento 2 has the contact page on the URL www.your-store.com/contact, but if you want to change the URL or change the page using the CMS will be necessary create the CMS page and implement this script bellow to call the form. When you created the page will necessary change the view method on the Content tab clicking Show / Hide Editor and paste this code below using two tags { on start and finish.


{block class="Magento\Contact\Block\ContactForm" name="contactForm" template="Magento_Contact::form.phtml"}