WordPress.org

Ready to get started?Download WordPress

Forums

How do I change the Blog Title Link (6 posts)

  1. greencode
    Member
    Posted 5 years ago #

    I'd like the Blog Title Link, in the top left corner, to link to my site's homepage and not my blog's homepage. Is there any way to specify this?

  2. greencode
    Member
    Posted 5 years ago #

    I've figured out how to do this my manually editing the header.php file of the theme but is this the only way to do it?

  3. buddha trance
    Member
    Posted 5 years ago #

    I believe it's the only way to do it.

  4. sessionhelper
    Member
    Posted 5 years ago #

    greencode HOW did you do that? I tried another way and lost access to my blog and can't edit anything anymore..

  5. greencode
    Member
    Posted 5 years ago #

    Hi, apologies for the delay in getting back to you - I don't seem to be getting instant notifications! Oh well, back to the matter at hand:

    If you look in your theme's root folder you'll see a file called "header.php", open this file in a text editor. In between the H1 tags there should be something like this:

    "<?php bloginfo('siteurl'); ?>"

    I simply changed this to:

    "my site name dot com"

    and that then changes the link. I think you did it through the Settings section in your wp-admin section on WP. That's what I did and lost the ability to edit or do anything with the blog. If that's still the case then can you access phpmyadmin through your cPanel? If so do this:

    Enter phpmyadmin
    > Select your database
    > Click browse on the wp-options table
    > Edit the siteurl to your previous location.

    Hopefully all of that should help you.

  6. dainismichel
    Member
    Posted 5 years ago #

    I was twisting my head around a pole and found this thread. Thanks. My head has been rescued.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.