WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] blog title refuses to change (26 posts)

  1. mildlyhotpeppers
    Member
    Posted 6 years ago #

    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. ):

  2. Adam Brown
    Member
    Posted 6 years ago #

    Caching problems.

    help with caching

  3. mildlyhotpeppers
    Member
    Posted 6 years ago #

    It's not my browser's cache...it appears like that on 4 different browsers (Opera, Firefox, IE6, IE7) on 3 different OSs (Ubuntu Linux, Windows XP, Windows Vista). The rest of the article doesn't talk about caching, and simply tells me to figure out the problem.

    What does my site's title appear as on your browser?

  4. Adam Brown
    Member
    Posted 6 years ago #

    You didn't give a URL...

    But if it looks the same in all browsers, then look in wp-config.php for something like

    define('WP_CACHE', true);

    and get rid of it. And you're not using caching plugins are you?

  5. mildlyhotpeppers
    Member
    Posted 6 years ago #

    Heh. I thought I had deactived wp-cache plugin, but I guess I didn't. (I never enabled it from the Options>WP-CACHE page though.) I just deactivated the plugin, and nothing has changed though.

    There's no define('WP_CACHE', true); in my wp-config.php, either.

    I tried clearing my browser's cache again to see if I would see any new results, but there's been no luck.

    And my site can be found at http://www.mildlyhotpeppers.com/

  6. Storyman
    Member
    Posted 6 years ago #

    You appear to have solved the problem.

    Would you mind sharing what you did to solve the problem, then mark the post resolved?

  7. moshu
    Member
    Posted 6 years ago #

    I don't see it solved...

  8. mildlyhotpeppers
    Member
    Posted 6 years ago #

    Me neither. ): Help anyone?

  9. moshu
    Member
    Posted 6 years ago #

    Just out of curiousity: what happens if you switch temporarily to another theme?

  10. mildlyhotpeppers
    Member
    Posted 6 years ago #

    It stays the same. (I cleared the cache before refreshing, just for the record.)

  11. mildlyhotpeppers
    Member
    Posted 6 years ago #

    ...bump.

  12. kmessinger
    Volunteer Moderator
    Posted 6 years ago #

    It shows up Mildly Hot Peppers in IE

  13. kmessinger
    Volunteer Moderator
    Posted 6 years ago #

    YOur page title though still says MidlyHotBlog and that will show up in a browser. That should be in your header file.

  14. kmessinger
    Volunteer Moderator
    Posted 6 years ago #

    Oppps! Sorry, that's what I get for reading and writing before understanding. Just don't pay attention to me . . .

    I'll try again after some coffee!

  15. kmessinger
    Volunteer Moderator
    Posted 6 years ago #

    The code difference I see is mine says, '<?php wp_title(); ?>' and yours, '<?php the_title(); ?>'

  16. mildlyhotpeppers
    Member
    Posted 6 years ago #

    I tried it, doesn't work. Could it be my server?

  17. kmessinger
    Volunteer Moderator
    Posted 6 years ago #

    "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.

  18. mildlyhotpeppers
    Member
    Posted 6 years ago #

    <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"

  19. kmessinger
    Volunteer Moderator
    Posted 6 years ago #

    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 (http://validator.w3.org/). Maybe correcting that will solve the problem.

  20. mildlyhotpeppers
    Member
    Posted 6 years ago #

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

  21. CyberCobre
    Member
    Posted 6 years ago #

    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.

  22. mildlyhotpeppers
    Member
    Posted 6 years ago #

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

  23. mildlyhotpeppers
    Member
    Posted 6 years ago #

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

  24. roegallo
    Member
    Posted 6 years ago #

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

  25. jzahlaway
    Member
    Posted 6 years ago #

    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.

  26. zdebx
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags