• Resolved mildlyhotpeppers

    (@mildlyhotpeppers)


    My WordPress blog title refuses to change…no matter what I do every page shows up as “MildlyHotBlog.” This happens despite the fact that I had changed my blog name to “MildlyHotPeppers.” When I go to a single-post page, it still shows only “MildlyHotBlog.” I checked the header file, and it looks fine:

    <title><?php if ( is_single() ) { ?> <?php the_title(); ?> -<?php } ?> <?php bloginfo('name'); ?> </title>

    I’m really at a loss as to what to do. ):

Viewing 10 replies - 16 through 25 (of 25 total)
  • kmessinger

    (@kmessinger)

    “the_title” will get different results than “wp_title”

    It may depend upon the theme but in mine using “the_title” displays the name of the current post not the blog title.

    You tried and it doesn’t work – did nothing change? Something must have changed somewhere AFAIK.

    Thread Starter mildlyhotpeppers

    (@mildlyhotpeppers)

    <title><?php if ( is_single() ) { ?> <?php the_title(); ?> -<?php } ?> <?php bloginfo('name'); ?> </title>

    It’s the_title(); because it’s supposed to return the post title if it is a single post, with a dash following it (Hence, the need for if (is_single() ) .) No matter what, however, it should show the blog name, hence bloginfo('name');. On my home page, this returns “MildlyHotBlog,” but on any other post page it shows “Postname – MildlyHotPeppers”

    kmessinger

    (@kmessinger)

    Have you checked your database? In mine, option 2 under wp-options, is the blog name. Perhaps your db did not get updated for some reason?

    Also, your blog does not validate (https://validator.w3.org/). Maybe correcting that will solve the problem.

    Thread Starter mildlyhotpeppers

    (@mildlyhotpeppers)

    Thanks for the help, but I don’t think not validating would be the problem. I checked the database, and it says MildlyHotPeppers.

    CyberCobre

    (@cybercobre)

    Okay, first of all, reenable your wp-cache. Then, once it is back enabled, scroll to the bottom and delete the both caches. Then, instead of disabling the plugin, hit the button at the top that disabled caching. Once you have it working right, you will want to enable caching again, imo.

    Now, after you’ve deleted your caches on server, if it still doesn’t change, make sure that you changed your title under Options > General

    Once that the title is showing properly, re-enable caching.

    Thread Starter mildlyhotpeppers

    (@mildlyhotpeppers)

    I did what you said…nothing happened. ): Thanks for trying though.

    Thread Starter mildlyhotpeppers

    (@mildlyhotpeppers)

    Woo. I realized it was because of SEO. Apparently it sets the title for the home page. ??

    What is SEO and how do I change my title?
    Thanks so much.

    There’s a WordPress plugin titled “All in One SEO Pack.” If you’re running this, you need to go into “Settings” -> “All in One SEO” to set your blog title, etc.

    I had to log in to say thank you for posting how you solved this problem, as I was having the same issue with my blog.

    Thanks again and good luck.

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘blog title refuses to change’ is closed to new replies.