{"id":498,"date":"2021-07-23T12:31:32","date_gmt":"2021-07-23T12:31:32","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/how-to-install-wordpress-with-cpanel\/"},"modified":"2021-07-23T12:31:32","modified_gmt":"2021-07-23T12:31:32","slug":"how-to-install-wordpress-with-cpanel","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/how-to-install-wordpress-with-cpanel\/","title":{"rendered":"How to Install WordPress\u00ae With cPanel"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>WordPress\u00ae, 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.<\/p>\n<h2 id=\"install-wordpress\">Install WordPress<\/h2>\n<h3 id=\"install-wordpress-from-wordpress-toolkit\">Install WordPress from WordPress Toolkit<\/h3>\n<p>In cPanel &#038; WHM version 92 and newer, users can install WordPress through the WordPress Toolkit interface.<\/p>\n<p>For instructions on how to install WordPress through WordPress Toolkit, read Plesk\u2019s WordPress Toolkit documentation.<\/p>\n<h3 id=\"install-wordpress-from-wordpress-manager\">Install WordPress from WordPress Manager<\/h3>\n<p>In cPanel &#038; WHM version 70 through 90, users can install WordPress through the WordPress Manager interface.<\/p>\n<p>For instructions on how to install WordPress through WordPress Manager interface, read our WordPress Manager documentation.<\/p>\n<h3 id=\"install-wordpress-as-site-software\">Install WordPress as Site Software<\/h3>\n<p>In cPanel &#038; WHM version 90 and earlier, users can install WordPress as a cPAddon with cPanel\u2019s <em>Site Software<\/em> interface (<em>cPanel &gt;&gt; Home &gt;&gt; Software &gt;&gt; Site Software<\/em>).<\/p>\n<p>To install WordPress as a cPAddon, perform the following steps:<\/p>\n<ol>\n<li>\n<p>Navigate to cPanel\u2019s <em>Site Software<\/em> interface (<em>cPanel &gt;&gt; Home &gt;&gt; Software &gt;&gt; Site Software<\/em>).<\/p>\n<\/li>\n<li>\n<p>To receive a notice via email when the hosting provider installs WordPress, click <em>here<\/em> after the <em>You currently are set to receive a notice when updates for your installs are available<\/em> text.<\/p>\n<\/li>\n<li>\n<p>Click <em>WordPress<\/em>.<\/p>\n<\/li>\n<li>\n<p>Enter the requested information.<\/p>\n<ul>\n<li>To install WordPress directly into a domain\u2019s document root, leave the installation URL\u2019s path blank. This may overwrite any files already in the document root.<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Click <em>Install<\/em>.<\/p>\n<ul>\n<li>If your hosting provider moderates requests for WordPress installation, click <em>Submit Moderation Request<\/em>.<\/li>\n<li>Enter a note for your hosting provider, and click <em>Submit Request<\/em>.<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>When the WordPress installation finishes, use your web browser to view the location that you entered in Step 4.<\/p>\n<ul>\n<li>For example, if you installed WordPress in the <code>http:\/\/example.com\/wordpress\/<\/code> directory, browse to the <code>http:\/\/example.com\/wordpress\/<\/code> URL.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>If WordPress is <strong>not<\/strong> 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.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>The WordPress Manager interface (<em>cPanel &gt;&gt; Home &gt;&gt; Applications &gt;&gt; WordPress Manager<\/em>) allows you to manage the WordPress installations on your cPanel account. The <em>WordPress Manager<\/em> interface <strong>only<\/strong> manages WordPress installations that you create with the RPM-based <em>WordPress<\/em> cPAddon.<\/p>\n<\/p><\/div>\n<\/div>\n<h3 id=\"install-wordpress-manually\">Install WordPress Manually<\/h3>\n<p>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.<\/p>\n<p>For more information, read installation instructions from WordPress and their cPanel-specific instructions on how to create a database for WordPress.<\/p>\n<p>Manual installations may encounter issues due to conflicting <code>.htaccess<\/code> files or database connection errors:<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>In the following examples, the following statements are true:<\/p>\n<ul>\n<li>\n<p><code>example.com<\/code> represents the domain name.<\/p>\n<\/li>\n<li>\n<p><code>example<\/code> represents the account name.<\/p>\n<\/li>\n<li>\n<p><code>subdomain<\/code> represents a subdomain\u2019s directory.<\/p>\n<\/li>\n<li>\n<p><code>addon.com<\/code> represents an addon domain name.<\/p>\n<\/li>\n<\/ul><\/div>\n<\/div>\n<h4 id=\"document-root-issues\">Document root issues<\/h4>\n<p>Due to potential conflicts in the <code>.htaccess<\/code> file, do <strong>not<\/strong> configure multiple WordPress installations to share a single document root. If you experience difficulties with WordPress, check the following requirements:<\/p>\n<ul>\n<li>\n<p>Each cPanel account user can host <strong>only<\/strong> one installation of WordPress in the document root directory.<\/p>\n<ul>\n<li>\n<p>The following are examples of document root directories:<\/p>\n<\/li>\n<li>\n<p><code>\/home\/example\/public_html\/<\/code><\/p>\n<\/li>\n<li>\n<p><code>\/home\/example\/public_html\/addon.com<\/code><\/p>\n<\/li>\n<li>\n<p><code>\/home\/example\/public_html\/subdomain<\/code><\/p>\n<\/li>\n<li>\n<p>Each directory may <strong>only<\/strong> contain one WordPress installation.<\/p>\n<\/li>\n<li>\n<p>If the subdirectories are not a document root, cPanel account users can install additional WordPress installations in subdirectories under the domain\u2019s home\/example\/public_html directory.<\/p>\n<\/li>\n<li>\n<p>The following examples demonstrate installations that use the wordpress subdirectory:<\/p>\n<ul>\n<li>\n<p>Under the document root for the main domain: <code>\/home\/example\/public_html\/wordpress<\/code><\/p>\n<\/li>\n<li>\n<p>Under a subdomain: <code>\/home\/example\/public_html\/subdomain\/wordpress<\/code><\/p>\n<\/li>\n<li>\n<p>Under an addon domain: <code>\/home\/example\/public_html\/addon.com\/wordpress<\/code><\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>For more information, visit the WordPress website.<\/p>\n<h5 id=\"database-connection-errors\">Database connection errors<\/h5>\n<p>If WordPress returns a database connection error, ensure that the database\u2019s name and password in the <code>wp-config.php<\/code> file are identical to the database credentials in your account.<\/p>\n<p>For a document root installation, the <code>wp-config<\/code> file exists in the <code>\/home\/username\/public_html<\/code> directory, where <code>username<\/code> represents the cPanel account name.<\/p>\n<p>To change the database\u2019s username or password, use cPanel\u2019s <em>MySQL Databases<\/em> interface (<em>cPanel &gt;&gt; Home &gt;&gt; Databases &gt;&gt; MySQL Databases<\/em>).<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        If your hosting provider installed the new RPM-based WordPress cPAddon, you can use cPanel\u2019s <em>WordPress Manager<\/em> interface (<em>cPanel &gt;&gt; Home &gt;&gt; Applications &gt;&gt; WordPress Manager<\/em>) to update your WordPress database user\u2019s password.\n    <\/div>\n<\/div>\n<p>To test a username and password combination, run the following command (where <code>db_user<\/code> represents the database\u2019s authorized username):<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">mysql <span style=\"color:#f92672\">-<\/span>u db_user <span style=\"color:#f92672\">-<\/span>p<\/code><\/pre>\n<\/div>\n<p>After you enter the command, enter the user\u2019s password. The system will respond with a success or failure message.<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview WordPress\u00ae, 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 &#038; WHM version 92 and newer, users can install WordPress through the WordPress Toolkit interface. For instructions on how &hellip;<\/p>\n","protected":false},"author":1,"featured_media":499,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/498"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=498"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/498\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/499"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}