{"id":20756,"date":"2018-01-11T17:48:23","date_gmt":"2018-01-11T15:48:23","guid":{"rendered":"https:\/\/hetzner.co.za\/help-centre\/?p=20756"},"modified":"2026-01-30T10:31:14","modified_gmt":"2026-01-30T08:31:14","slug":"wp-config","status":"publish","type":"post","link":"https:\/\/xneelo.co.za\/help-centre\/website\/wordpress\/wp-config\/","title":{"rendered":"Configure the wp-config.php file"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">The <\/span><b>wp-config.php<\/b><span style=\"font-weight: 400;\"> file is located in the root of your WordPress file directory and contains your website&#8217;s base configuration details, such as database connection information. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">After first installation, WordPress will automatically try to create this file. If there is an error when browsing to your domain and running the install script, the file can be configured manually instead.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This can be done in 2 ways, using:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><b>File Manager<\/b><span style=\"font-weight: 400;\"> in konsoleH (described below), or <\/span><\/li>\n<li style=\"font-weight: 400;\"><b>FTP<\/b><span style=\"font-weight: 400;\"> to download the file, edit it in a text editor such as TextEdit or Notepad (do not use Google docs or Word) and then upload the updated version.<\/span><\/li>\n<\/ol>\n<h2><b>Configure using konsoleH File Manager:<\/b><\/h2>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Browse to <a href=\"https:\/\/login.konsoleh.co.za\" target=\"_blank\" rel=\"noopener noreferrer\">konsoleH<\/a> and log in\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">In the left menu choose <\/span><b>Manage Services &gt; Files and Folders &gt; File Manager<\/b><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Using the top and right hand menu (or double clicking) find the\u00a0<\/span><b>home &gt; public_html &gt;\u00a0 wp-config.php\u00a0<\/b>(If the domain is a sub- or multiple domain, this file will be in a subfolder within the public_html directory of the main account)<\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">If only the sample file\u00a0<b>wp-config-sample.php <\/b>exists , then select the file and choose <\/span><b>Rename<\/b><span style=\"font-weight: 400;\"> from the right hand menu to rename to <\/span><b>wp-config.php<\/b><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Select the new\u00a0<strong>wp-config.php<\/strong> file and choose <strong>E<\/strong><\/span><b>dit<\/b><span style=\"font-weight: 400;\"> from the right menu\u00a0<a href=\"https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-rename.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20712\" src=\"https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-rename.png\" alt=\"\" width=\"2116\" height=\"728\" srcset=\"https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-rename.png 2116w, https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-rename-300x103.png 300w, https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-rename-1024x352.png 1024w, https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-rename-768x264.png 768w, https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-rename-1536x528.png 1536w, https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-rename-2048x705.png 2048w\" sizes=\"auto, (max-width: 2116px) 100vw, 2116px\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Edit the following settings using the details that you saved when creating a database for your WordPress site<\/span>\n<ul>\n<li style=\"font-weight: 400;\">Replace &#8216;<b>database_name_here<\/b>&#8216; with the <b>database name<\/b> e.g <em>example_db2<\/em><\/li>\n<li style=\"font-weight: 400;\">Replace &#8216;<b>username_here<\/b>&#8216;) with the <b>username<\/b> e.g. <em>examplemhgy_2<\/em><\/li>\n<li style=\"font-weight: 400;\">Replace \u2018<b>password_here<\/b>&#8216; with the <b>full password<\/b><\/li>\n<li style=\"font-weight: 400;\">Replace &#8216;<b>localhost<\/b>&#8216; with the <b>database server name<\/b> e.g. <i>sql32.jnb2.host-h.net <\/i>(note: this is <em>not<\/em> the web server name e.g.<i>www527.jhb1.host-h.net)<a href=\"https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-edit1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20734\" src=\"https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-edit1.png\" alt=\"\" width=\"1676\" height=\"978\" srcset=\"https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-edit1.png 1676w, https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-edit1-300x175.png 300w, https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-edit1-1024x598.png 1024w, https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-edit1-768x448.png 768w, https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-edit1-1536x896.png 1536w\" sizes=\"auto, (max-width: 1676px) 100vw, 1676px\" \/><\/a><\/i><\/li>\n<\/ul>\n<\/li>\n<li>The wp-config.php file is now configured to recognise the database associated with your WordPress website.<\/li>\n<\/ol>\n","protected":false,"plain":"<span >The <\/span><b>wp-config.php<\/b><span > file is located in the root of your WordPress file directory and contains your website's base configuration details, such as database connection information. <\/span>\r\n\r\n<span >After first installation, WordPress will automatically try to create this file. If there is an error when browsing to your domain and running the install script, the file can be configured manually instead.<\/span>\r\n\r\n<span >This can be done in 2 ways, using:<\/span>\r\n<ol>\r\n \t<li ><b>File Manager<\/b><span > in konsoleH (described below), or <\/span><\/li>\r\n \t<li ><b>FTP<\/b><span > to download the file, edit it in a text editor such as TextEdit or Notepad (do not use Google docs or Word) and then upload the updated version.<\/span><\/li>\r\n<\/ol>\r\n<h2><b>Configure using konsoleH File Manager:<\/b><\/h2>\r\n<ol>\r\n \t<li ><span >Browse to <a href=\"https:\/\/login.konsoleh.co.za\" target=\"_blank\" rel=\"noopener noreferrer\">konsoleH<\/a> and log in\u00a0<\/span><\/li>\r\n \t<li ><span >In the left menu choose <\/span><b>Manage Services &gt; Files and Folders &gt; File Manager<\/b><\/li>\r\n \t<li ><span >Using the top and right hand menu (or double clicking) find the\u00a0<\/span><b>home &gt; public_html &gt;\u00a0 wp-config.php\u00a0<\/b>(If the domain is a sub- or multiple domain, this file will be in a subfolder within the public_html directory of the main account)<\/li>\r\n \t<li ><span >If only the sample file\u00a0<b>wp-config-sample.php <\/b>exists , then select the file and choose <\/span><b>Rename<\/b><span > from the right hand menu to rename to <\/span><b>wp-config.php<\/b><\/li>\r\n \t<li ><span >Select the new\u00a0<strong>wp-config.php<\/strong> file and choose <strong>E<\/strong><\/span><b>dit<\/b><span > from the right menu\u00a0<a href=\"https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-rename.png\"><img class=\"alignnone size-full wp-image-20712\" src=\"https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-rename.png\" alt=\"\" width=\"2116\" height=\"728\" \/><\/a><\/span><\/li>\r\n \t<li ><span >Edit the following settings using the details that you saved when creating a database for your WordPress site<\/span>\r\n<ul>\r\n \t<li >Replace '<b>database_name_here<\/b>' with the <b>database name<\/b> e.g <em>example_db2<\/em><\/li>\r\n \t<li >Replace '<b>username_here<\/b>') with the <b>username<\/b> e.g. <em>examplemhgy_2<\/em><\/li>\r\n \t<li >Replace \u2018<b>password_here<\/b>' with the <b>full password<\/b><\/li>\r\n \t<li >Replace '<b>localhost<\/b>' with the <b>database server name<\/b> e.g. <i>sql32.jnb2.host-h.net <\/i>(note: this is <em>not<\/em> the web server name e.g.<i>www527.jhb1.host-h.net)<a href=\"https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-edit1.png\"><img class=\"alignnone size-full wp-image-20734\" src=\"https:\/\/xneelo.co.za\/help-centre\/wp-content\/uploads\/2018\/01\/wp-config-edit1.png\" alt=\"\" width=\"1676\" height=\"978\" \/><\/a><\/i><\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li>The wp-config.php file is now configured to recognise the database associated with your WordPress website.<\/li>\r\n<\/ol>"},"excerpt":{"rendered":"<p>The wp-config.php must be configured to recognise the database associated with your WordPress website. If WordPress is not able to do this automatically, it can be done manually.<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"lsx_disable_title":"0","_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","footnotes":""},"categories":[779],"tags":[],"topics":[10403,10371],"class_list":["post-20756","post","type-post","status-publish","format-standard","hentry","category-wordpress","topics-konsoleh-tools","topics-wordpress"],"acf":[],"additional_meta":{"category_title":[{"term_id":779,"name":"WordPress","slug":"wordpress","term_group":0,"term_taxonomy_id":779,"taxonomy":"category","description":"","parent":166,"count":14,"filter":"raw","term_order":"48","cat_ID":779,"category_count":14,"category_description":"","cat_name":"WordPress","category_nicename":"wordpress","category_parent":166}],"tag_title":false},"featured_image_src":null,"author_info":{"display_name":"marketing","author_link":"https:\/\/xneelo.co.za\/help-centre\/author\/marketing\/","author_avatar":"https:\/\/secure.gravatar.com\/avatar\/a6ea315e112423b2b955cb020fbce2b0835956c6ad85ff0f13f1db298977eaaa?s=96&d=mm&r=g"},"_links":{"self":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/20756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/comments?post=20756"}],"version-history":[{"count":0,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/20756\/revisions"}],"wp:attachment":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/media?parent=20756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/categories?post=20756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/tags?post=20756"},{"taxonomy":"topics","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/topics?post=20756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}