Make WordPress Core

Changeset 515 for trunk/index.php


Ignore:
Timestamp:
11/03/2003 10:16:26 PM (23 years ago)
Author:
mikelittle
Message:

If using the new SE friendly urls, then links to other pages need to be absolute not relative.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r510 r515  
    2323    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    2424    <?php get_archives('monthly', '', 'link'); ?>
    25     <?php // comments_popup_script(); // off by default ?>
     25    <?php comments_popup_script(); // off by default ?>
    2626
    2727</head>
     
    3636
    3737 <h3 class="storytitle" id="post-<?php the_ID(); ?>">
    38   <a href="<?php permalink_link() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a>
    39   <span class="meta"><a href="?cat=<?php the_category_ID() ?>" title="Category: <?php the_category() ?>">[<?php the_category() ?>]</a> &#8212; <?php the_author() ?> @ <?php the_time() ?></span>
     38  <a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a>
     39  <span class="meta"><a href="<?php get_category_link(1) ?>" title="Category: <?php the_category() ?>">[<?php the_category() ?>]</a> &#8212; <?php the_author() ?> @ <?php the_time() ?></span>
    4040 </h3>
    4141
     
    9494 <li>Other:
    9595    <ul>
    96         <li><a href="b2login.php">login</a></li>
    97         <li><a href="b2register.php">register</a></li>
     96        <li><a href="<?php echo $siteurl; ?>/b2login.php">login</a></li>
     97        <li><a href="<?php echo $siteurl; ?>/b2register.php">register</a></li>
    9898    </ul>
    9999 </li>
    100100 <li>Meta:
    101101    <ul>
    102         <li><a href="b2rss.php">RSS .92</a></li>
    103         <li><a href="b2rdf.php">RDF 1.0</a></li>
    104         <li><a href="b2rss2.php">RSS 2.0</a></li>
    105         <li><a href="wp-commentsrss2.php">Comments RSS 2.0</a></li>
     102        <li><a href="<?php echo $siteurl; ?>/b2rss.php">RSS .92</a></li>
     103        <li><a href="<?php echo $siteurl; ?>/b2rdf.php">RDF 1.0</a></li>
     104        <li><a href="<?php echo $siteurl; ?>/b2rss2.php">RSS 2.0</a></li>
     105        <li><a href="<?php echo $siteurl; ?>/wp-commentsrss2.php">Comments RSS 2.0</a></li>
    106106        <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
    107107        <li><a href="http://wordpress.org" title="Powered by WordPress, personal publishing platform">WP</a></li>
Note: See TracChangeset for help on using the changeset viewer.