How To Edit WordPress Website In Cpanel

How To Edit WordPress Website In Cpanel

I’m going to show you how to edit your website in cpanel. There are a few steps that you will need to do before editing your website, but I will walk you through everything step by step. If you want to learn more about cpanel, check out my previous article on how to use cpanel.

How To Edit WordPress Website In Cpanel

When you edit a file using cPanel’s File Manager, you can make immediate changes to your web site without the need to upload a new version of the file. cPanel has two editors that you can use to edit files directly on the web server:

  • A plain text editor for editing text files. This editor is intended for use with plain text files, such as configuration files.
  • An HTML Editor that is intended for use with HTML files. This editor provides WYSIWYG (What You See Is What You Get) functionality. It provides many of the features that users of word processing programs are familiar with, such as spell check, formatting toolbars, and so on.

Additionally, if you just want to view a file’s contents, you can do so without opening the file in an editor.

Viewing a file

You may not always need to edit a file. If you just want to take a quick look at a file’s contents, you can view it without opening an editor.

To view a file in File Manager, follow these steps:

  1. Log in to cPanel.If you do not know how to log in to your cPanel account, please see this article.
  2. In the FILES section of the cPanel home screen, click File Manager:cPanel - File Manager icon
  3. In the File Manager main window, select the file that you want to view.
  4. Click the View icon:
    cPanel - File Manager - View iconThe file’s contents appear in a new page.

Editing a file using the plain text editor

To edit a plain text file, follow these steps:

  1. Log in to cPanel.If you do not know how to log in to your cPanel account, please see this article.
  2. In the FILES section of the cPanel home screen, click File Manager:cPanel - File Manager icon
  3. In the File Manager main window, select the file that you want to edit.
  4. Click the Edit icon:
    cPanel - File Manager - Edit icon
  5. Select the character set encoding that the file uses. The default is utf-8 (Unicode).
    Make sure that you select the correct character encoding for the file. Otherwise, the file may become corrupted.
  6. Click Edit. The file’s contents appear in a new page, ready for editing.
  7. To save your changes, click Save Changes.
    If you do not want to save your changes, just close the page.
  8. To close the editor, click Close.

Editing a file using the HTML Editor

To edit a file by using the HTML Editor, follow these steps:

  1. Log in to cPanel.If you do not know how to log in to your cPanel account, please see this article.
  2. In the FILES section of the cPanel home screen, click File Manager:cPanel - File Manager icon
  3. In the File Manager main window, select the file that you want to edit.
  4. Click the HTML Editor icon:
    cPanel - File Manager - HTML Editor icon
  5. Select the character set encoding that the file uses. The default is utf-8 (Unicode).
    Make sure that you select the correct character encoding for the file. Otherwise, the file may become corrupted.
  6. Click Edit. The file’s contents appear in a new page, ready for editing.
  7. To change the formatting, use the formatting toolbar. For example, you can change the font size and text alignment, add bulleted and numbered lists, and much more.
  8. To view the web page’s HTML source code, click Source:
    cPanel - File Manager - HTML Editor - Source icon
  9. To preview the web page, click the preview icon:
    cPanel - File Manager - HTML Editor - Preview icon
  10. To save your changes, click the Save icon:
    cPanel - File Manager - HTML Editor - Save icon

cpanel wordpress download

WordPress®, a web-based content management system, allows users to easily create a website or blog. This document describes how to install WordPress on your cPanel account.

Install WordPress

Install WordPress from WordPress Toolkit

In cPanel & WHM version 92 and newer, users can install WordPress through the WordPress Toolkit interface (cPanel >> Tools >> Domains >> WordPress Toolkit).

For instructions on how to install WordPress through WordPress Toolkit, read Plesk’s WordPress Toolkit documentation.

Install WordPress as Site Software

In cPanel & WHM version 90 and earlier, users can install WordPress as a cPAddon with cPanel’s Site Software interface (cPanel >> Home >> Software >> Site Software).

To install WordPress as a cPAddon, perform the following steps:

  1. Navigate to cPanel’s Site Software interface (cPanel >> Home >> Software >> Site Software).
  2. To receive a notice via email when the hosting provider installs WordPress, click here after the You currently are set to receive a notice when updates for your installs are available text.
  3. Click WordPress.
  4. Enter the requested information.
    • To install WordPress directly into a domain’s document root, leave the installation URL’s path blank. This may overwrite any files already in the document root.
  5. Click Install.
    • If your hosting provider moderates requests for WordPress installation, click Submit Moderation Request.
    • Enter a note for your hosting provider, and click Submit Request.
  6. When the WordPress installation finishes, use your web browser to view the location that you entered in Step 4.
    • For example, if you installed WordPress in the http://example.com/wordpress/ directory, browse to the http://example.com/wordpress/ URL.

If WordPress is not available as a cPAddon, users can ask their hosting provider to add it, or they install WordPress directly themselves. For more information, read the User installs WordPress Manually section below.

Install WordPress Manually

If your hosting provider does not offer WordPress as a cPAddon, you can manually download WordPress from the WordPress website and install it on your site.

For more information, read installation instructions from WordPress and their cPanel-specific instructions on how to create a database for WordPress.

Manual installations may encounter issues due to conflicting .htaccess files or database connection errors:

Note:

In the following examples, the following statements are true:

  • example.com represents the domain name.
  • example represents the account name.
  • subdomain represents a subdomain’s directory.
  • addon.com represents an addon domain name.

Document root issues

Due to potential conflicts in the .htaccess file, do not configure multiple WordPress installations to share a single document root. If you experience difficulties with WordPress, check the following requirements:

  • Each cPanel account user can host only one installation of WordPress in the document root directory.
    • The following are examples of document root directories:
    • /home/example/public_html/
    • /home/example/public_html/addon.com
    • /home/example/public_html/subdomain
    • Each directory may only contain one WordPress installation.
    • If the subdirectories are not a document root, cPanel account users can install additional WordPress installations in subdirectories under the domain’s home/example/public_html directory.
    • The following examples demonstrate installations that use the wordpress subdirectory:
      • Under the document root for the main domain: /home/example/public_html/wordpress
      • Under a subdomain: /home/example/public_html/subdomain/wordpress
      • Under an addon domain: /home/example/public_html/addon.com/wordpress

Leave a Comment