Hyperlink title (6 posts)

  1. MegWi
    Posted 2 years ago #

    Hello! When I copy and paste my blog address into facebook, and a link is generated, instead of just the title of my post, it puts the title of my post, then "Meg Wilson Photography | Meg Wilson Photography". (You can see what I'm talking about on my fb page, here: http://www.facebook.com/megwilsonphotography)

    The link looks like this: Wedding | VeilsMegWilsonPhotography | Meg Wilson Photography

    I want it to just say "Wedding | Veils"

  2. Justin Greer
    Volunteer Moderator
    Posted 2 years ago #

    This is controlled by you title of your whole site. This is also extreme poor for SEO.

    You will have to modify the header.php of your theme to change how the title is presented. Pretty straight forward stuff.

    One thing to note is that even after fixing your titles, FB most likely will continue to show old titles for a long time because of the cache system they use.

  3. viky081
    Posted 2 years ago #

    <?php if(is_home()) { echo "Home"; } else { echo wp_title(" | ", false, right); echo bloginfo('name'); } ?>

    use this between the <title> tag in header.php

  4. Justin Greer
    Volunteer Moderator
    Posted 2 years ago #

    There is a good plugin out there called Page Meta. Just a recommendation on my behalf.

  5. MegWi
    Posted 2 years ago #

    @viky081: Thanks! I am very new at this, so may I ask a couple questions to clarify?

    When I open header.php this is what is in it that includes <title>:
    <title><?php wp_title('|', true, 'right'); ?></title>
    Do I replace the <?php wp_title('|', true, 'right'); ?> with the code you gave me above?

    Then, when I have done so and saved it, can I upload just the header.php to my site via ftp, or is there anything else I need to update?

    Thank you so much.

    @justingreerbbi: thank you, also. When you say it is extremely poor for SEO, do you think that it is a problem with the way my template was written, or is it possibly a problem with my plugin "All in one SEO Pack"?
    And would trying to run "All in One SEO Pack" and "Page Meta" at the same time be counterproductive? (Thanks for the advice on "Page Meta")...


  6. Justin Greer
    Volunteer Moderator
    Posted 2 years ago #

    Yes it would be counter productive. I use pagemeta all the time and would not install a bulky SEO plugin but that's just me. I know my way around wordpress which tends to make me kinda rebelliousness when it comes to bulky plugins

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.