{"id":1195,"date":"2020-09-22T08:58:21","date_gmt":"2020-09-22T08:58:21","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2020\/09\/22\/4469298-how-to-change-wordpress-theme-via-phpmyadmin-at-hostinger\/"},"modified":"2026-11-25T09:19:57","modified_gmt":"2026-11-25T09:19:57","slug":"4469298-how-to-change-wordpress-theme-via-phpmyadmin-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/4469298-how-to-change-wordpress-theme-via-phpmyadmin-at-hostinger\/","title":{"rendered":"How to change WordPress theme via phpMyAdmin at Hostinger"},"content":{"rendered":"<p>Change your WordPress theme via phpMyAdmin at Hostinger if you don&#8217;t have access to the WordPress admin panel.<\/p>\n<h2 id=\"step-1---open-file-manager\">Step 1 \u2013 Identify your WordPress database<\/h2>\n<p class=\"no-margin\">Navigate to <b><a data-click-id=\"hgr-post-content-link-file-manager\" class=\"intercom-content-link\" href=\"\/support\/4548688-basic-actions-in-the-file-manager-in-hostinger\/#h_0f7a938593\" target=\"_blank\" rel=\"noopener\">File Manager<\/a><\/b>, and open the <b>wp-config.php<\/b> file inside your <b>public_html<\/b> directory. The name of the database for your website is shown in the <b>DB_NAME<\/b> line:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone size-full wp-image-24773\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-06_14-09.png\" alt=\"\" width=\"572\" height=\"320\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-06_14-09.png 572w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-06_14-09-300x168.png 300w\" sizes=\"(max-width: 572px) 100vw, 572px\" \/><\/div>\n<p class=\"no-margin\">While you are at <b>File Manager<\/b>, be sure to check all the available themes you currently have on the <b>\/wp-content\/themes<\/b> directory:<\/p>\n<div class=\"intercom-container\"><img decoding=\"async\" class=\"alignnone size-full wp-image-24774\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-06_14-10.png\" alt=\"\" width=\"470\" height=\"283\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-06_14-10.png 470w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-06_14-10-300x181.png 300w\" sizes=\"(max-width: 470px) 100vw, 470px\" \/><\/div>\n<h2 id=\"step-2---open-phpmyadmin\">Step 2 \u2013 Open phpMyAdmin<\/h2>\n<p>Go to the <b>Databases<\/b> page on your Hostinger dashboard, locate the database with the name you found in wp-config.php file, and <b><a data-click-id=\"hgr-post-content-link-open-it-via-phpmyadmin\" href=\"\/support\/1583545-how-to-access-phpmyadmin-at-hostinger\/\">open it via phpMyAdmin<\/a><\/b><\/p>\n<p class=\"no-margin\">In phpMyAdmin, open the<b> wp_options<\/b> table and find the <b>template <\/b>and <b>stylesheet<\/b> rows \u2013 you may need to scroll down or move to the next page. These rows will contain your current theme name:<\/p>\n<div class=\"intercom-container\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2020\/09\/60d9cc9e-5c3d-4d26-a60c-c5c6f22963e5.jpg\/public\" alt=\"phpMyAdmin database with wp_options selected and template and stylesheet set to twentytwentytwo\" data-media-id=\"4685\" \/><\/div>\n<p class=\"no-margin\">Next, double-click on both of the rows to edit the theme name. You can change it to any of the themes you have already installed. The name should fully match the name of the theme\u2019s folder:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2020\/09\/25516116-883c-4121-9b45-30b9897517f0.jpg\/public\" alt=\"Hostinger phpMyAdmin showing WordPress theme fields template and stylesheet set to astra\" data-media-id=\"4686\" \/><\/div>\n<p class=\"no-margin\">That\u2019s it! your WordPress theme has been <b>changed successfully<\/b>. You can corroborate it by visiting your website after <b><a data-click-id=\"hgr-post-content-link-clearing-your-cache\" class=\"intercom-content-link\" href=\"\/tutorials\/hosting\/technical-aspects\/\" target=\"_blank\" rel=\"noopener\">clearing your cache<\/a><\/b> or using an incognito window.<\/p>\n<p class=\"no-margin\"><strong>Additional resources<\/strong><\/p>\n<ul>\n<li>\n<p class=\"no-margin\"><a data-click-id=\"hgr-post-content-link-how-to-disable-wordpress-plugins-without-access-to-the-admin\" class=\"intercom-content-link\" href=\"\/support\/4411258-how-to-disable-wordpress-plugins-without-access-to-the-admin-page-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">How to disable WordPress plugins without access to the admin page?<\/a><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><a data-click-id=\"hgr-post-content-link-how-to-fix-wordpress-plugins-or-theme-errors-at-hostinger\" href=\"\/support\/4153729-how-to-fix-wordpress-plugins-or-theme-errors-at-hostinger\/\">How to fix WordPress plugins or theme errors at Hostinger<\/a><\/p>\n<\/li>\n<li><a data-click-id=\"hgr-post-content-link-how-to-change-a-theme-in-wordpress\" href=\"\/tutorials\/change-a-theme-in-wordpress\/\">How to Change a Theme in WordPress<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Changing the WordPress theme without accessing the WordPress admin panel<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","include_on_kodee":true,"footnotes":""},"categories":[179],"tags":[],"class_list":["post-1195","post","type-post","status-publish","format-standard","hentry","category-wordpress-management"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/4469298-how-to-change-wordpress-theme-via-phpmyadmin-at-hostinger","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/4469298-como-cambiar-el-tema-de-wordpress-a-traves-de-phpmyadmin-en-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/4469298-comment-changer-le-theme-de-wordpress-via-phpmyadmin-chez-hostinger","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/4469298-bagaimana-cara-mengubah-tema-wordpress-melalui-phpmyadmin-di-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/4469298-como-alterar-o-tema-do-wordpress-via-phpmyadmin-no-hostinger","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/4469298-\u044f\u043a-\u0437\u043c\u0456\u043d\u0438\u0442\u0438-\u0442\u0435\u043c\u0443-wordpress-\u0447\u0435\u0440\u0435\u0437-phpmyadmin-\u0432-hostinger","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1195"}],"version-history":[{"count":8,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1195\/revisions"}],"predecessor-version":[{"id":26047,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1195\/revisions\/26047"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}