• Hey folks.

    Here’s the scoop. Check out the screenshot.
    https://i43.tinypic.com/5xo1hi.png

    Basically I did a search for “Terror King” and my site listed 3rd. But i dont want the link to display PUMATALK – Lifestyle blog… and then the title of the post. I would like it to be only the title of the post and in this case being; PUMA Terror King April 2nd.

    Same with the URL, i dont want it to display the number of the post, I’d like to to be https://www.PUMATALK.com/blog/PUMA_Terror_King_April_2nd.html or whatever seo friendly link it should be.

    Please help me out.
    Thanks.
    -Joey

Viewing 3 replies - 1 through 3 (of 3 total)
  • Edit header.php and use:

    <title>wp_title()</title>

    for your meta-title.

    Thread Starter Tee

    (@pumatalk)

    Esmi.

    So all that I need to do to get the link to display the title of the post rather then the generic number of the post is just do the following?

    <title>wp_title()</title>

    -Joey

    Thread Starter Tee

    (@pumatalk)

    Im sorry I can’t seem to understand… I tried to do what you asked and didn’t work.

    Here’s the header code.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="https://www.w3.org/1999/xhtml">
    
    <head profile="https://gmpg.org/xfn/11">
    
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    
    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    
    <script src="/mint/?js" type="text/javascript"></script>
    
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <style type="text/css" media="screen">
    
    <?php 
    
    // Checks to see whether it needs a sidebar or not
    
    if ( !$withcomments && !is_single() ) { 
    
    ?>
    
    	#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; }
    
    <?php } else { // No sidebar ?>
    
    	#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } 
    
    <?php } ?>
    
    </style>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to do I change the TITLE link to reflect only the title of the post’ is closed to new replies.