• Hi all

    Please note i’m new to WordPress, this should be a simple thing! – When i create a new page e.g home page, i’d like to have the auto generated link say “home” but i’d like the main H1 tag to say “Welcome”, is this possible?

    It seems if i put home in the page title with the admin the link then says home (great), but then the page title also say’s home – obviously for SEO this is best for the keyword “home” but it’s not very welcoming to the visitor.

    Any ideas? is there a setting i can change?

    Thanks

    James

Viewing 4 replies - 1 through 4 (of 4 total)
  • Assuming you’re creating a static home page, its permalink will always be your site url. It doesn’t matter what title you use.

    Thread Starter jimzippy

    (@jimzippy)

    Thanks for responding,

    What i mean is, in the navigation bar the link will say “Welcome” if i put the title of the page as “Welcome”, but i’d like the link to say “home” and the page title to say “welcome”…

    hope that makes sense

    Thanks

    James

    If you’re using wp_list_pages to generate your page links in the nav bar, you could exclude your home page and hardcode it in just above:

    <ul>
    <li<?php if( is_home() echo ' class="current_page_item"';?>><a href="<?php bloginfo(;url');?>">Home</a></li>
    <?php wp_list_pages('title_li=&exclude=10'); ?>
    </ul>
    Thread Starter jimzippy

    (@jimzippy)

    I have used something similar to what you have suggested, but this leaves issues with other pages e.g: “about us” page and using a link with a title “about {the company name}”?

    especially when it gets handed over to the client, and the id’s will be generated on the fly… it might not be possible, but thought i’d ask – wondered if maybe a module exists to allow for alternate title links etc… but i couldn’t see anything when searching.

    really appreciate your time

    thanks

    James

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How Do I Create Different Anchor Text For Main Page Links & Titles?’ is closed to new replies.