How to Upload a HTML Page to WordPress without 404 Errors

WordPress sites are a little more complicated than sites made with just HTML files, because the files that it runs from are PHP files. But you can add static HTML to WordPress.  You don’t need use third-party,  you can upload an HTML file to the WordPress Media Library.

Why Upload HTML Pages to WordPress?

WordPress comes with a content type to add pages to your website. Often WordPress themes add pre-designed page templates to display your pages.

Uploading HTML Page to WordPress Site

Step 1: 

Log in to your WordPress admin area. Click “Media Library” from the menu on the left, then click “Add New.”


Step 2:

Click “Select Files” on the screen that appears. A window comes up, allowing you to browse your hard drive for the HTML file that you want to upload. Locate the file, click it once, then click “Open” in the bottom right corner. Wait for the file to upload, which for a normal HTML file should not take long.

Note that WordPress will return an error if the HTML file you try to upload is blank. If all you need to do is upload an HTML file with a particular file name — for example, to verify that you are the owner of the site — type the following into the file before uploading

Step 3:

Copy and paste the URL of the file, located next to the “File URL” field. If you need to link to the page from your main site, this is the URL you should use. You can also fill out the “Title” and “Description” fields to make your uploaded file easier to find.

Step 4:

Click “Save all changes” when finished.

Well, hopefully this article is helpful enough to helps you know How to Upload a HTML Page to WordPress without 404 Errors. If you have any further questions for us, don’t hesitate to put it up in the comments.
See you again in orther tutorials!

Leave a Reply

Your email address will not be published. Required fields are marked *