<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WPWife &#187; upload HTML page</title>
	<atom:link href="http://www.wpwife.com/category/upload-html-page/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpwife.com</link>
	<description>WPHelp: fix and optimise WP themes&#38;plugins</description>
	<lastBuildDate>Fri, 21 Nov 2025 12:00:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.38</generator>
	<item>
		<title>How to Upload a HTML Page to WordPress without 404 Errors</title>
		<link>http://www.wpwife.com/tutorials/how-to-upload-a-html-page-to-wordpress-without-404-errors</link>
		<comments>http://www.wpwife.com/tutorials/how-to-upload-a-html-page-to-wordpress-without-404-errors#comments</comments>
		<pubDate>Wed, 23 May 2018 11:17:18 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[404 errors]]></category>
		<category><![CDATA[how to upload HTML page to WordPress site]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[upload HTML page]]></category>
		<category><![CDATA[upload HTML page to WordPress site]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=52636</guid>
		<description><![CDATA[
<p>Do you want to upload a HTML page to your WordPress site? Sometimes you may need to add a static HTML page and make it accessible along with your WordPress site. In this article, we will show you how to properly upload a HTML page&#8230;&#160;<strong><a href="http://www.wpbeginner.com/wp-tutorials/how-to-upload-a-html-page-to-wordpress-without-404-errors/">Read More &#187;</a></strong></p>
<p>The post <a rel="nofollow" href="http://www.wpbeginner.com/wp-tutorials/how-to-upload-a-html-page-to-wordpress-without-404-errors/">How to Upload a HTML Page to WordPress without 404 Errors</a> appeared first on <a rel="nofollow" href="http://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Do you want to upload a HTML page to your WordPress site? Sometimes you may need to add a static HTML page and make it accessible along with your WordPress site. In this article, we will show you how to properly upload a HTML page to your WordPress site without causing 404 errors.</p>
<p><img title="How to Upload HTML Page to WordPress Site" src="http://cdn3.wpbeginner.com/wp-content/uploads/2018/05/upload-html-page-to-wordpress-site-featured.png" alt="How to Upload HTML Page to WordPress Site" width="550" height="340" class="alignnone size-full wp-image-52693" /></p>
<h4>Why Upload HTML Pages to WordPress?</h4>
<p>WordPress comes with a <a href="http://www.wpbeginner.com/beginners-guide/what-is-the-difference-between-posts-vs-pages-in-wordpress/" title="What is the Difference Between Posts vs. Pages in WordPress">built-in content type</a> to add pages to your website. Often WordPress themes add pre-designed page templates to display your pages.</p>
<p>There are even <a href="http://www.wpbeginner.com/plugins/best-wordpress-landing-page-plugins-compared/" title="5 Best WordPress Landing Page Plugins Compared (2017)">WordPress landing page plugins</a> that allow you to create beautiful page templates with a drag and drop builder. </p>
<p>This means that in most cases, you shouldn&#8217;t need to upload a HTML page to your WordPress site. </p>
<p>However, sometimes a user may have static HTML pages from their old website or a static template that they really like and want to use. In these scenarios, you will need to upload your HTML page to WordPress. </p>
<p>Since, WordPress comes with its own <a href="http://www.wpbeginner.com/wp-tutorials/seo-friendly-url-structure-for-wordpress/" title="What is a SEO Friendly URL Structure in WordPress">SEO friendly URL structure</a>, it can cause a <a href="http://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-posts-returning-404-error/" title="How to Fix WordPress Posts Returning 404 Error">404 error</a> if you simply uploaded your HTML page and tried to access it. </p>
<p>That being said, let&#8217;s take a look at how to upload a HTML page to your WordPress site without causing 404 errors. </p>
<h4>Uploading HTML Page to WordPress Site</h4>
<p>Before you upload your HTML page to the WordPress site, you need to make sure that the &#8216;index.html&#8217; file is renamed to &#8216;index.php&#8217;. </p>
<p><img title="HTML Template File" src="http://cdn3.wpbeginner.com/wp-content/uploads/2018/05/html-page-template.png" alt="HTML Template File" width="550" height="144" class="alignnone size-full wp-image-52648" /></p>
<p>After that, you need to add all files including the HTML page, CSS, and other folders to a Zip archive. </p>
<p>Windows users can right-click and select <strong>Send to &raquo; Compressed Zip Folder</strong> option to create a zip file. Next, simply drag and drop all files and folders for your HTML page to the zip file. </p>
<p><img title="Zip Archive HTML Page" src="http://cdn3.wpbeginner.com/wp-content/uploads/2018/05/zip-archive-html-page.png" alt="Zip Archive HTML Page" width="550" height="131" class="alignnone size-full wp-image-52649" /></p>
<p>Mac users can select the parent folder containing all files and folders, and then right-click to select <strong>&#8216;Compress folder&#8217;</strong> option. </p>
<p><img title="Create zip file in Mac" src="http://cdn3.wpbeginner.com/wp-content/uploads/2018/05/compress-mac.png" alt="Create zip file in Mac" width="550" height="263" class="alignnone size-full wp-image-52739" /></p>
<p>Next, you need to go to the <a href="http://www.wpbeginner.com/glossary/cpanel/" title="cPanel">cPanel</a> of your <a href="http://www.wpbeginner.com/wordpress-hosting/" title="How to Choose the Best WordPress Hosting?">WordPress hosting</a> account. In the cPanel, you need to scroll down to the <strong>Files</strong> section and then click on the <strong>File Manager</strong> app.</p>
<p><img title="Open File Manager" src="http://cdn.wpbeginner.com/wp-content/uploads/2018/05/open-filemanager.png" alt="Open File Manager" width="550" height="215" class="alignnone size-full wp-image-52659" /></p>
<p>Once you are in File Manager, you need to navigate to the website root folder which is usually called public_html and contains all your WordPress files folders. From there, you need to click on the <strong>Folder</strong> link from the top menu to create a new empty folder.</p>
<p><img title="Create a New Folder" src="http://cdn.wpbeginner.com/wp-content/uploads/2018/05/create-new-folder.png" alt="Create a New Folder" width="550" height="206" class="alignnone size-full wp-image-52664" /></p>
<p>A popup will open where you need to add a name for the new folder. Use a name that you want to use as the URL of your HTML page and then click on the <strong>Create New Folder</strong> button.</p>
<p><img title="Create new folder in cPanel" src="http://cdn2.wpbeginner.com/wp-content/uploads/2018/05/create-new-folder-cpanel.png" alt="Create new folder in cPanel" width="550" height="277" class="alignnone size-full wp-image-52744" /></p>
<p>After creating the folder successfully, you need to open it and click on the <strong>Upload</strong> button from the top menu to select and upload the zip file you created earlier from your computer. You&#8217;ll see the progress bar while the zip file uploads to your site.</p>
<p><img title="Upload Zipped Template File" src="http://cdn4.wpbeginner.com/wp-content/uploads/2018/05/upload-zip-file-template.png" alt="Upload Zipped Template File" width="550" height="311" class="alignnone size-full wp-image-52669" /></p>
<p>Once uploaded, you need to select the zip file and then click on <strong>Extract</strong> button from the top menu.</p>
<p><img title="Extract Files" src="http://cdn.wpbeginner.com/wp-content/uploads/2018/05/extract-files.png" alt="Extract Files" width="550" height="189" class="alignnone size-full wp-image-52670" /></p>
<p>You will be asked where to extract the files. Simply select the same new folder that you created and click on the <strong>Extract File(s)</strong> button.</p>
<p><img title="Extract Files in New Folder" src="http://cdn4.wpbeginner.com/wp-content/uploads/2018/05/extract-zip-file-folder.png" alt="Extract Files in New Folder" width="550" height="298" class="alignnone size-full wp-image-52671" /></p>
<p>File Manager will now extract the zip file, and you will be able to see files in your folder. </p>
<p><strong>Note:</strong> You can now delete the zip file from here. It doesn&#8217;t affect your HTML page or any other folders that are extracted.</p>
<p><img title="Extracted Folder" src="http://cdn4.wpbeginner.com/wp-content/uploads/2018/05/extracted-files-folder.png" alt="Extracted Folder" width="550" height="280" class="alignnone size-full wp-image-52696" /></p>
<p>Now you can visit this page in the browser by using the name of the folder (For example, yourwebsite.com/example). If your server doesn&#8217;t support the redirection, then you may see a 404 error. It happens because your &#8216;index.php&#8217; file is not redirected on loading the URL in browser.</p>
<p>It is one of the <a href="http://www.wpbeginner.com/common-wordpress-errors-and-how-to-fix-them/" title="25 Most Common WordPress Errors and How to Fix Them">common WordPress errors</a> and can be fixed easily. </p>
<p>Using the <strong>File Manager</strong> app, you need to edit <a href="http://www.wpbeginner.com/glossary/htaccess/" title=".htaccess">.htaccess file</a> in your website&#8217;s root folder and add the following code: </p>
<pre class="brush: php; title: ; notranslate">

RewriteRule ^(.*)index\.(php|html?)$ /$1 [R=301,NC,L]

</pre>
<p>This code will redirect your &#8216;index.php&#8217; file and load it in the browser. If you are using a case-sensitive name for a file or folder, then the above code will also redirect that to show you the content.</p>
<p>We hope this article helped you learn how to upload an HTML page to your WordPress site without 404 error. You may want to see our comparison of <a href="http://www.wpbeginner.com/beginners-guide/wordpress-vs-html-whats-best-for-your-business-website/" title="WordPress vs Static HTML – What’s Best for Your Business Website?">WordPress vs static HTML</a> to learn which one is better for your business. Also for creating landing pages, we recommend taking a look at the <a href="http://www.wpbeginner.com/beginners-guide/best-drag-and-drop-page-builders-for-wordpress/" title="5 Best Drag and Drop WordPress Page Builders Compared (2018)">best WordPress drag &#038; drop page builder plugins</a>.</p>
<p>If you liked this article, then please subscribe to our <a href="http://youtube.com/wpbeginner?sub_confirmation=1" title="WPBeginner on YouTube"  rel="nofollow">YouTube Channel</a> for WordPress video tutorials. You can also find us on <a href="http://twitter.com/wpbeginner" title="WPBeginner on Twitter"  rel="nofollow">Twitter</a> and <a href="https://www.facebook.com/wpbeginner" title="WPBeginner on Facebook"  rel="nofollow">Facebook</a>.</p>
<p>The post <a rel="nofollow" href="http://www.wpbeginner.com/wp-tutorials/how-to-upload-a-html-page-to-wordpress-without-404-errors/">How to Upload a HTML Page to WordPress without 404 Errors</a> appeared first on <a rel="nofollow" href="http://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/tutorials/how-to-upload-a-html-page-to-wordpress-without-404-errors/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
	</channel>
</rss>
