hostitsmart
Member
You can add the HTML via 3 methods in the wordpress site lets know one by one all the 3 ways
1. Through wordpress Dashboard
- First, you have to navigate to your admin dashboard
- Now click on the option labeled pages which be available on the left-hand sidebar
- Now you’ll be able to see two options for editing an existing page and adding a new page. To edit an existing page, click on the post name itself the editor will load immediately.
- Now, once you have opened the visual editor, click on the option to add a block, which will be available on the top left, and automatically open the drop-down menu.
- After that, using the search bar on the top of the drop-down, search for the term “file” and click on the option “file” to upload a new file.
- Now click on the “upload” button in the file and upload the file.
2. Through FTP
- First, you have to download and install Filezilla on your computer.
- Now, you have to open FileZilla and enter your FTP credentials, including a hostname, username, password, and port number.
- Now click on the button “Quickconnect.”
- After establishing the connection, the left panel labeled “local site” is your computer, and the right panel labeled “Remote site” is our website. You have to go to the right-side panel and open the folder “Public_html”
- Next step is to create a new folder by right-clicking on it and then selecting the option “creating directory " and entering it.”
- Now, just select the HTML files on the left-hand panel you want to upload by right-clicking on the files and selecting upload.
3. Through cPanel
- First, you must log in to your web host account and open cPanel.
- And then you have to click on file manager
- Now open the folder called “public HTML” This folder contains three more folders called “wp-content” and “wp-includes.”
- Now click on the “+file” option to add a new file.
- Now upload your HTML file here.