This walk-through takes you from an HTML file on your computer to a live page on your site.
Before you start:
Open your HTML file in a browser and check it looks right. If it is a single file, images should load from full web addresses that start with https:// and your CSS and JavaScript should sit inside the file. If your page comes with its own folders of images, CSS and JavaScript, you can upload the whole export as a ZIP instead. If you are not sure, read Preparing Your HTML: Images, CSS And Assets first.
Publish your first page:
- In your admin sidebar, click HTML Pages, then Upload HTML Page. On an empty Dashboard you can also click Upload Your First HTML Page.
- Type a title at the top, for example Summer Offer. WordPress turns the title into the page address, so Summer Offer becomes /h/summer-offer/. The title is for you and for the address. The name in the visitor's browser tab comes from the title tag inside your HTML.
- In the Upload Your Page box, drag your file onto the area that says Drag & drop your .html file or .zip here, or click the area to browse for it. A green tick appears with your file name and size.
- Click Publish. If you want to check it first, click Save Draft instead.
- The Upload Your Page box now shows Current file with the file name and size (for a ZIP it shows Current upload with the number of files). Once the page is published you also see a green Live URL bar with a Copy Link button.
- Click Preview Page → to open your page in a new tab.
That is it. Your page is live. Paste the copied link into your emails, ads or social posts.
Good to know:
- The file is only uploaded when you click Publish, Save Draft or Update. If you choose a file and leave the screen without saving, nothing is uploaded.
- One page holds one upload: a single HTML file, or one ZIP. For a separate page at its own address, click Upload HTML Page again.
- Visitors can only see published pages. Drafts stay private.
- You do not need to do anything to your theme. Your page never uses it.
Find your pages later:
Click HTML Pages, then All HTML Pages. Every page is listed with its file, size, address, a Copy Link button and a View → link.
Where to go next:
- Settings Explained, to change the address prefix or add tracking code to every page
- Editing, Replacing And Duplicating Pages
- Code Injection