ThisCalculator

Everyday

How to Change Your WordPress Site Title

Updated · Standard formula, shown below

How to Change Your WordPress Site Title

Changing your WordPress site title is a quick way to refresh your brand or improve how your site appears in search results. This guide walks you through the two main methods: using the built-in Customizer (for most sites) and editing the settings file directly (for sites where the option is hidden). You’ll need admin access to your WordPress dashboard and, for the second method, access to your site’s files via an FTP client or your hosting file manager.

What You’ll Need

  • Administrator login to your WordPress dashboard.
  • If you use the Customizer method: no extra tools.
  • If you use the wp-config.php method: FTP access or a file manager in your hosting control panel (like cPanel).
  • A text editor (like Notepad or Sublime Text) for editing files.

Step-by-Step

Method 1: Using the WordPress Customizer (Recommended)

  1. Log in to your WordPress admin area. The URL is usually yourdomain.com/wp-admin.
  2. In the left sidebar, hover over Appearance and click Customize. This opens the WordPress Customizer, a live preview of your site.
  3. In the Customizer sidebar, look for a section called Site Identity. It’s usually near the top. Click it.
  4. You’ll see two fields: Site Title and Tagline. The Site Title is what you want to change. Type your new title into the Site Title box.
  5. As you type, the preview on the right side updates in real time. This shows you exactly how the new title will look on your site.
  6. If you also want to change the tagline (the short description under the title), edit the Tagline field as well.
  7. Click the blue Publish button at the top of the Customizer sidebar. Your new title is now live.

Method 2: Changing the Title in wp-config.php (When the Option Is Missing)

Some themes or plugins hide the Site Title field. In that case, you can force a title by adding a line to your site’s configuration file.

  1. Connect to your hosting account using FTP (like FileZilla) or open the File Manager in your hosting control panel.
  2. Navigate to the root folder of your WordPress installation. This is usually public_html or www. You’ll see files like wp-config.php, wp-admin, and wp-content.
  3. Find the file named wp-config.php and download it to your computer (if using FTP) or open it in the file manager’s editor.
  4. Open the file in a plain text editor. Do not use a word processor like Word.
  5. Look for the line that says /* That's all, stop editing! Happy publishing. */. Just above that line, add the following code:
define('WP_SITEURL', 'http://yourdomain.com');
define('WP_HOME', 'http://yourdomain.com');

Replace yourdomain.com with your actual domain name. This does not directly set the title, but it ensures WordPress uses the correct site URL. To actually change the title, you need to add this line instead:

add_filter('pre_option_blogname', function() { return 'Your New Site Title'; });

Replace Your New Site Title with your desired title. This code overrides the title stored in the database.

  1. Save the file and upload it back to your server, replacing the original. If you’re using the file manager, just save the changes.
  2. Visit your site to see the new title. It should appear in the browser tab and in the header.

Common Mistakes

  • Editing the wrong file: Some users accidentally edit header.php instead of wp-config.php. The header file controls the layout, not the site title setting.
  • Forgetting to clear caching: If you use a caching plugin (like W3 Total Cache), your new title might not show up immediately. Clear the cache after making the change.
  • Using a page title instead of the site title: The site title is the name of your whole website, not the title of a specific blog post or page. To change a page title, edit that page directly.
  • Leaving the tagline unchanged: If you change the title but not the tagline, the two might look mismatched. Update both if needed.

Tips

  • Keep it short and descriptive: Search engines usually display the first 50–60 characters of your title. A concise, clear title helps users understand what your site is about.
  • Include keywords: If you want to rank for a specific phrase, include it in the title. For example, “Best Vegan Recipesâ€� is more searchable than “My Food Blogâ€�.
  • Use the Customizer preview: Before publishing, use the live preview to see how the title looks on different devices (desktop, tablet, mobile).
  • Change the tagline too: The tagline appears right under the title in many themes. Use it to add a short value proposition, like “Fresh, healthy meals in 30 minutesâ€�.
  • Check your browser tab: After publishing, open your site in a new tab to confirm the title appears correctly. Sometimes browsers cache old titles.

Troubleshooting

I changed the title, but nothing happened.
First, clear your browser cache and any WordPress caching plugin. If it still doesn’t change, your theme might be hardcoding the title in its template files. Check the theme’s header.php for a hardcoded <title> tag or a custom function that overrides the site title. You may need to edit that file or use a child theme to safely modify it.

The Site Identity section is missing in the Customizer.
This can happen with themes that don’t support the custom logo or site title feature. Try switching to a default WordPress theme (like Twenty Twenty-Four) temporarily to see if the option appears. If it does, the issue is with your original theme. You can also use the wp-config.php method described above.

My changes to wp-config.php caused a white screen.
This usually means there’s a syntax error in the file. Open the file again and check that you added the code exactly as written, including the semicolons. If you can’t access your site, use FTP to download the file, fix it, and re-upload. If you made a backup before editing, restore that.

The title changes on the homepage but not on other pages.
Some themes use different title formats for inner pages (like “Post Title – Site Name�). This is normal. If you want to change the format, look for SEO settings in your theme or use an SEO plugin like Yoast to control how titles appear on different page types.

Frequently Asked Questions

Can I change the site title without admin access?

No, you need at least administrator-level access to change the site title. If you don’t have access, ask the site owner or a super admin to make the change for you.

Will changing the site title affect my SEO?

It can, but usually only temporarily. Your site title is a key part of how search engines understand your site. If you change it, your rankings may fluctuate for a short time. To minimize impact, keep the new title similar to the old one if you’re just rebranding slightly.

How do I change the title that appears in search results?

The site title is often used as the default title tag. However, if you have an SEO plugin, it may override the site title for search results. You can set a specific SEO title in the plugin’s settings for each page or post. For the homepage, look for a “Homepage� or “Front Page� section in your SEO plugin.

Why does my site title show a different name in Google than on my site?

Google may use a different title if it thinks your page title is more relevant. This can happen if your site’s title tag is not set correctly or if Google has indexed an older version of your site. Use Google Search Console to request re-indexing after you change the title.

Can I change the site title in the database directly?

Yes, you can. The site title is stored in the wp_options table under the blogname option. You can edit it using phpMyAdmin. However, this is riskier than using the Customizer, and a mistake could break your site. Only do this if you’re comfortable with databases.

What’s the difference between the site title and the logo?

The site title is text, while the logo is an image. Many themes display both, but you can choose to hide the text if you have a logo. In the Customizer’s Site Identity section, you can upload a logo and also check a box to display the title and tagline or not.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.