How to Upload Godlike - Html to Wordpress
Read Time: 8 mins Languages:
In this article, we'll discuss a couple of different ways that yous tin upload an HTML file to your WordPress website.
Why Do Y'all Need to Upload an HTML File to WordPress?
When you lot're working with a WordPress website, yous tin can employ anything from static posts and pages to fancy dynamic features like paradigm galleries, magazines, and eCommerce. Yous tin implement many of these advanced features by just installing and configuring free plugins from the WordPress marketplace.
On the other hand, when it comes to the layout and theming of your website, WordPress allows y'all to cull from thousands of fix-made professional person themes available in the market. When you lot combine these themes with page architect plugins, you tin can completely customize your forepart-stop the way you want to. And if that'southward non sufficient, y'all can customize a theme or build your own theme to give a completely different look to your website.
Having said that, sometimes y'all might want to upload a specific HTML file which you've got from your old site, and you merely don't want to bear on the rest of your WordPress installation. Specifically, you might accept an HTML file which displays a completely different layout than your existing website, and y'all desire to brandish it for specific campaigns. Or you might want to verify your website with Google by uploading an HTML file to the certificate root of your website.
Whatsoever the reason, we'll go through a couple of ways to upload an HTML file to your WordPress website in this post.
How to Upload an HTML File
Permit's quickly summarize the dissimilar methods you lot could use to upload an HTML file:
- utilize the FTP client software
- utilise cPanel
- use the back-end editor
FTP Client Software
This is i of the easiest ways to upload files from your computer to the WordPress website. If yous've got FTP access to your website, y'all could utilize the FTP customer software to connect to your website and upload the necessary files. Keep your FTP credentials handy if y'all desire to use this option. You'll need to take a host, username, password, and port.
At that place are different FTP clients available, and you lot demand to cull one for your OS version. If you're using *cypher-based systems—Linux and Unix— you could use pop options like LFTP, gFTP, or FileZilla. On the other paw, WinSCP is one of the about popular options for Windows users.
Once y'all've installed your favorite FTP client, become ahead and open it. Enter the necessary information, as shown in the post-obit screenshot, and connect. I've used the gFTP client.
Once you connect to the server, you should be able to see the listing of files available in your WordPress installation. On the left-mitt side, gFTP lists files on your local calculator, and information technology displays remote site files on the right-hand side.
At present, information technology's time to upload the desired file from your local computer to WordPress. On the left-hand side, navigate to the directory where the HTML file resides, select the file, and finally drag and drop it on the correct-mitt side. Alternatively, y'all could also double-click that file to upload information technology.
Once you've uploaded the file, make sure that the file is uploaded properly past visiting the https://your-wordpress-website/myhtmlfile.html URL in your browser.
So that'southward how y'all can upload files from your estimator to WordPress by using the FTP client software. In the adjacent section, nosotros'll discuss how you can use cPanel to achieve the same thing.
CPanel
In this section, we'll see how you could upload an HTML file to your WordPress with the assist of cPanel. Of course, you need to have cPanel admission on your host to use this option! Y'all can acquire more about free WordPress hosting options here at Envato Tuts+.
Using cPanel is pretty similar to using FTP. You need to navigate to the WordPress installation directory and upload any desired files.
Become ahead and log in to your cPanel. On your dashboard, yous should exist able to see the following unlike options.
Adjacent, click on the File Manager link on your dashboard, and that should take yous to the screen which lists different files on your server. Navigate to the desired WordPress installation directory where you want to upload the HTML file. Information technology should brandish files as shown in the following screenshot.
On the top of the screen, it displays unlike buttons that allow you lot to perform different file operations. Among them, the Upload button allows you to upload files from your figurer, and that'southward what we're going to use in our case.
Go ahead and click on the Upload button, and it volition display a popup screen equally shown in the following screenshot.
Basically, it'south asking yous to choose the file y'all want to upload. Click on the Select File button and cull the desired file from your reckoner. And then cPanel should upload the selected file to the desired directory. Once the file is uploaded successfully, you lot should be able to meet the uploaded file in the list of files nether your WordPress installation directory.
If there'due south whatsoever error uploading your file, it will display a helpful message which allows you to take the necessary actions to fix the cause of the mistake. Mostly, errors are related to the directory permissions or the size of your file exceeding the upload limit.
In this style, cPanel allows you lot to upload files from your estimator to your WordPress website. In the adjacent and last section, we'll see how you can upload a file from the WordPress dashboard.
WordPress Dashboard
In this section, we'll talk over how y'all tin can upload HTML files with the help of the built-in media manager available on your WordPress dashboard.
Before you go ahead and exercise this selection, notwithstanding, you'll need to make changes in your WordPress configuration file. Past default, WordPress allows you lot to upload files with specific extensions for security purposes. Mostly, you could upload files that belong to valid media files similar .jpg, .gif, .png, .pdf, etc. On the other hand, you can't upload files that have extensions like .html, .js, .php, and so on.
And so if you desire to upload a file which is non a valid media file and doesn't belong to one of the valid media extensions in WordPress, y'all demand to make a special change in your WordPress configuration file. Note that it must be a temporary change, and you must undo it one time you finish uploading files. I would recommend yous to use this selection only if y'all know what you're doing.
Go ahead and open the wp-config.php file with your favorite text editor. The wp-config.php file resides in the root of your WordPress installation. Add together the following snippet at the end of your file.
define('ALLOW_UNFILTERED_UPLOADS', true);
Once yous've washed it, upload the updated wp-config.php file to your WordPress site. With these changes in place, y'all'll be able to upload .html files from your computer.
Next, caput over to your WordPress dashboard and navigate to Media > Add New. It will display the following screen.
Click on the Select Files button, which allows you to choose files from your computer that yous desire to upload. Select the desired files, and they'll be uploaded right away, as shown in the following screenshot.
Now, navigate to the Media > Library section, and information technology should display the list of files. Click on the file which you lot've just uploaded to see the file details. You'll encounter the File URL field, which contains the link of this file, as shown in the following screenshot.
You lot could copy it and paste it in your browser to see if information technology works. This is the link which you would need to admission this file in your front-end.
And then that's how yous can upload files with the aid of the media manager from your WordPress dashboard. Don't forget to undo your changes in the wp-config.php file, as it would exist a unsafe security trouble to continue it open up.
Determination
Today, we discussed different options that you could utilise to upload an HTML file to your WordPress website. Feel complimentary to post if you take any queries or doubts using the feed below.
Install a Premium WordPress Widget or Plugin Now!
There are thousands of high-quality WordPress plugins on CodeCanyon that can help enhance your business's website. Have a look through this large collection of plugins, and you'll find helpful plugins in all different types of categories, from marketing to eCommerce to social media.
Find the perfect WordPress plugin to assistance your business succeed and motivate your customers. You can notice even more plugin ideas and inspiration in our free grade on finding the all-time WordPress plugins for your site.
Did you find this post useful?
jacobsonlockonamind.blogspot.com
Source: https://webdesign.tutsplus.com/tutorials/how-to-upload-an-html-file-to-wordpress--cms-36393
0 Response to "How to Upload Godlike - Html to Wordpress"
Post a Comment