mod your wordpress permalinks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 2HousePlague
    CURATOR
    • Jul 2004
    • 14572

    #1

    mod your wordpress permalinks

    Different wp tempates will create the permalink in different ways. Typically, the anchor text will be "permalink", which is kinda useless. If ya play with this part of the code (usually in the index.php template), you can change the anchor to something more useful, either the same word for all posts:

    <span class="pside">permalink: </span> <a href="<?php the_permalink(); ?>">ANCHOR</a><br />

    Or the name of the post:

    <span class="pside">permalink: </span> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a><br />

    The CSS tag for the treatment of the text in the title (in this case "pside"), may be called something else in your template.


    2hp
    tada!
  • Basic_man
    Programming King Pin
    • Oct 2003
    • 27360

    #2
    That's true, I'm sure if you mix different kind of linking structure, SEs will love that !
    UUGallery Builder - automated photo/video gallery plugin for Wordpress!
    Stop looking! Checkout Naked Hosting, online since 1999 !

    Comment

    • Jace
      FBOP Class Of 2013
      • Jan 2004
      • 35562

      #3
      I am not sure where you are getting your info, but I have my permalinks setup as the title of the post, I have always done that...it is a standard wordpress feature

      Comment

      • uno
        RIP Dodger. BEST.CAT.EVER
        • Dec 2002
        • 18450

        #4
        Depends on the template used and what the code is in the template Jace.
        -uno
        icq: 111-914
        CrazyBabe.com - porn art
        MojoHost - For all your hosting needs, present and future. Tell them I sent ya!

        Comment

        • Jace
          FBOP Class Of 2013
          • Jan 2004
          • 35562

          #5
          Originally posted by uno
          Depends on the template used and what the code is in the template Jace.
          ah, i didn't know that...every template I have used does the post name as the permalink

          see you this week man, I am stoked!

          Comment

          Working...