{"id":3960,"date":"2020-02-10T15:00:41","date_gmt":"2020-02-10T14:00:41","guid":{"rendered":"https:\/\/qodeinteractive.com\/magazine\/?p=3960"},"modified":"2020-08-24T23:45:49","modified_gmt":"2020-08-24T21:45:49","slug":"how-to-change-wordpress-database-prefix","status":"publish","type":"post","link":"https:\/\/qodeinteractive.com\/magazine\/how-to-change-wordpress-database-prefix\/","title":{"rendered":"How to Change the WordPress Database Prefix to Improve Security"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]WordPress is a system of files that functions around a centralized database. This database is used to store all of the pertinent information, options, and settings needed for a WordPress website to function. For this very reason, it is a common target for malicious attacks and its security should be one of the priorities for every WordPress developer. Among a long list of security features that can be utilized within WordPress itself, many of them can be added to the wp-config.php file. One of those settings is the table_prefix option that we will be covering in this article.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Namely, WordPress databases have a default prefix of \u201c<strong>wp_<\/strong>\u201d which exposes them to attacks that can exploit the use of such default settings and use them to gather valuable user information. To protect against this form of attack, you simply need to change the table prefix to something other than \u201cwp_\u201d that others will not be able to predict.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">Changing the WordPress Database Prefix<\/h2>\n<p>[\/vc_column_text][vc_column_text]This process involves three main steps, however, before attempting these it is always a good idea to <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-backup-wordpress-database\/\">back-up the database<\/a> so that you can simply restore it if necessary.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]For the first part of changing the prefix, you will utilize the wp-config.php file and change the default prefix for all tables. In order to do so, you will have to access your website via FTP and <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-edit-wp-config-file\/\">edit the wp-config.php file<\/a> in the root directory. <strong>Right-click<\/strong> this file and select <strong>View\/Edit<\/strong> from the dropdown list.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Once the file opens in a new window, within it you will need to modify the following line:[\/vc_column_text][vc_empty_space height=&#8221;30px&#8221;][vc_column_text]<code class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$table_prefix = 'wp_';<\/code>[\/vc_column_text][vc_empty_space height=&#8221;34px&#8221;][vc_column_text]into[\/vc_column_text][vc_empty_space height=&#8221;30px&#8221;][vc_column_text]<code class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$table_prefix = \u2018wp_new_';<\/code>[\/vc_column_text][vc_empty_space height=&#8221;54px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Modify-the-following-line.jpg\" class=\"attachment-full size-full\" alt=\"Modify the following line\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Modify-the-following-line.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Modify-the-following-line-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Modify-the-following-line-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]We have set the default database prefix to \u201cwp_new_ \u201c. You are free to change this to whatever you\u2019d like. However, keep in mind that you can only use numbers, letters, and underscores to construct the prefix. The beginning must still consist of \u201cwp_\u201d and you can input your part of the prefix after it. Also, it is good practice that you end the new prefix with an underscore \u201c_\u201c so the table names will be easily discernible.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]After changing the line you need to save your changes. The following pop-up will appear:[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Save-your-changes.jpg\" class=\"attachment-full size-full\" alt=\"Save your changes\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Save-your-changes.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Save-your-changes-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Save-your-changes-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Simply click <strong>Yes<\/strong> and the editing of the file is done.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Now if you try to access your website once again you will be prompted to start the database set up once again, since the new setting for the prefixes has to be applied. <strong>If you do this, your entire database will be overridden and you will lose everything stored within it<\/strong>. This means that if you have already started work on your website, everything you\u2019ve done up to now will be erased.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Start-the-database-set.jpg\" class=\"attachment-full size-full\" alt=\"Start the database set\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Start-the-database-set.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Start-the-database-set-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Start-the-database-set-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]In order to avoid this, you will need to change the names of all the existing tables (and some occurrences of the prefix inside the tables) from within phpMyAdmin. [\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If you\u2019re working on a live server, to log in to your installation\u2019s phpMyAdmin you will either have to contact your hosting provider or access your <strong>cPanel<\/strong> and navigate to <strong>phpMyAdmin<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/phpMyAdmin.jpg\" class=\"attachment-full size-full\" alt=\"phpMyAdmin\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/phpMyAdmin.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/phpMyAdmin-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/phpMyAdmin-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]If you&#8217;re working on a local server, you can go to the designated dashboard for it. For example, if you\u2019re using XAMPP, go to the control panel and press the admin button for MySQL.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"358\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/Press-the-admin-button-for-MySQL.jpg\" class=\"attachment-full size-full\" alt=\"Press the admin button for MySQL\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/Press-the-admin-button-for-MySQL.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/Press-the-admin-button-for-MySQL-300x151.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/Press-the-admin-button-for-MySQL-620x313.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Once you have done either of these you will be redirected to the phpMyAdmin dashboard page on your default browser.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/phpMyAdmin-dashboard-G.jpg\" class=\"attachment-full size-full\" alt=\"phpMyAdmin dashboard\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/phpMyAdmin-dashboard-G.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/phpMyAdmin-dashboard-G-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/phpMyAdmin-dashboard-G-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]On the left-hand side of the page, you will see a list of your databases. Choose the one you would like to <strong>edit by simply clicking on it<\/strong>. If you have been working on a <a href=\"https:\/\/qodeinteractive.com\/themes-list\/\">premium WordPress theme<\/a>, chances are the next screen will have quite a lot of tables shown:[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Tables.jpg\" class=\"attachment-full size-full\" alt=\"List of your databases\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Tables.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Tables-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Tables-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]It would be tedious work to change them all one by one. Luckily, when you scroll down to the bottom of this page you will see a <strong>check all option<\/strong>. <strong>Click on it and from the dropdown<\/strong> next to it choose the option <strong>Replace table prefix<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Replace-table-prefix.jpg\" class=\"attachment-full size-full\" alt=\"Replace table prefix\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Replace-table-prefix.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Replace-table-prefix-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Replace-table-prefix-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]A small window will pop up with two text boxes. One is for inputting the old table prefix, which in our case is \u201cwp_\u201d, and the second one is to input the new prefix we previously defined in the wp-config.php file, which in our case is \u201cwp_new_\u201d.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Execute-the-change.jpg\" class=\"attachment-full size-full\" alt=\"Execute the change\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Execute-the-change.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Execute-the-change-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Execute-the-change-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]By <strong>pressing the Continue button<\/strong> you will execute the change and you will be able to move on to the last step.[\/vc_column_text][vc_empty_space height=&#8221;81px&#8221;][vc_separator color=&#8221;custom&#8221; accent_color=&#8221;#f0f0f0&#8243;][vc_empty_space height=&#8221;50px&#8221;][vc_widget_sidebar sidebar_id=&#8221;top-picks-banner&#8221;][vc_empty_space height=&#8221;28px&#8221;][vc_separator color=&#8221;custom&#8221; accent_color=&#8221;#f0f0f0&#8243;][vc_empty_space height=&#8221;70px&#8221;][vc_column_text]Since the database tables themselves are connected, there are certain entries within some of them that point to one of the other tables. Within these, the old prefix is still used. If you leave it like that, errors will occur and you once again may end up having to restore your backed-up database to keep from losing all the progress you made with building your website.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]In order to avoid this you should <strong>navigate to the SQL tab<\/strong> near the top of the browser window and<strong> add the following code<\/strong> into the text field that appears:[\/vc_column_text][vc_empty_space height=&#8221;30px&#8221;][vc_column_text]<code class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">SELECT * FROM 'wp_new_options' WHERE 'option_name' LIKE 'wp\\\\_%'<\/code>[\/vc_column_text][vc_empty_space height=&#8221;34px&#8221;][vc_column_text]Once you have input this code <strong>you should modify the \u201cwp_new_options\u201d part<\/strong> to reflect your new prefix (so it should contain your new prefix followed by the word \u201coptions\u201d). This will access the options table and retrieve from it any option_name attribute which starts with \u201cwp_\u201d. In essence, it will retrieve all of this attribute\u2019s values that start with the old prefix.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/SQL.jpg\" class=\"attachment-full size-full\" alt=\"SQL\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/SQL.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/SQL-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/SQL-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;60px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/SQL-2.jpg\" class=\"attachment-full size-full\" alt=\"Modify SQL\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/SQL-2.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/SQL-2-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/SQL-2-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Once you <strong>press the Go button<\/strong> a list of all of the entries to this table will be shown along with a notice of how many have been found.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/List-of-all-of-the-entries.jpg\" class=\"attachment-full size-full\" alt=\"List of all of the entries\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/List-of-all-of-the-entries.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/List-of-all-of-the-entries-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/List-of-all-of-the-entries-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Now that we have located all the instances of the old prefix within the options table you will need to change them one by one. To do so, you can <strong>simply double click the option_name field<\/strong> and <strong>add your new prefix instead of the old one<\/strong>. Once you click outside of the text box again the information will be saved and a notification will pop up.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Notification.jpg\" class=\"attachment-full size-full\" alt=\"Notification\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Notification.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Notification-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Notification-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]You will also need to do this for the \u201cusermeta\u201d table. [\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]As in the step above, navigate to the SQL tab once again and paste the following code into the large text box.[\/vc_column_text][vc_empty_space height=&#8221;30px&#8221;][vc_column_text]<code class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">SELECT * FROM \u2018wp_new_usermeta\u2019 WHERE \u2018meta_key\u2019 LIKE \u2018wp\\\\_%\u2019<\/code>[\/vc_column_text][vc_empty_space height=&#8221;34px&#8221;][vc_column_text]Changing the \u201cwp_new_\u201d prefix into the one you chose. After <strong>pressing the Go button<\/strong>, you should see a list of instances of the old prefix within the \u201cusermeta\u201d table.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/List-of-instances-of-the-old-prefix.jpg\" class=\"attachment-full size-full\" alt=\"List of instances of the old prefix\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/List-of-instances-of-the-old-prefix.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/List-of-instances-of-the-old-prefix-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/List-of-instances-of-the-old-prefix-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]This time you will need to manually amend the \u201cmeta_key\u201d column values to include the new prefix instead of the old one.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Manually-amend-the-meta_key-column.jpg\" class=\"attachment-full size-full\" alt=\"Manually amend the meta_key column\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Manually-amend-the-meta_key-column.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Manually-amend-the-meta_key-column-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/01\/Manually-amend-the-meta_key-column-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Once you have done this, the process of changing the table prefix is complete and you will be able to navigate back to your website without any issue.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">Final Thoughts<\/h2>\n<p>[\/vc_column_text][vc_column_text]This concludes our tutorial on changing the default WordPress database prefix. By following these steps, you can create some peace of mind for yourself and ensure that your database and website are that much safer from any potential cyber attacks.[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Learn how to change the WordPress database prefix to improve security and protect your WordPress site from cyberattacks.<\/p>\n","protected":false},"author":278,"featured_media":8056,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[49,34,50,13],"class_list":["post-3960","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-database","tag-security","tag-sql","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/3960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/users\/278"}],"replies":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/comments?post=3960"}],"version-history":[{"count":0,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/3960\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media\/8056"}],"wp:attachment":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media?parent=3960"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/categories?post=3960"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/tags?post=3960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}