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

git-svn-id: https://develop.svn.wordpress.org/trunk@515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little
2003-11-03 22:16:26 +00:00
parent 6fc9f0c212
commit be0a2d2cf7
2 changed files with 24 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ require_once($abspath.'wp-links/links.php');
<link rel="alternate" type="text/xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php get_archives('monthly', '', 'link'); ?>
<?php // comments_popup_script(); // off by default ?>
<?php comments_popup_script(); // off by default ?>
</head>
@@ -35,8 +35,8 @@ require_once($abspath.'wp-links/links.php');
<?php the_date('','<h2>','</h2>'); ?>
<h3 class="storytitle" id="post-<?php the_ID(); ?>">
<a href="<?php permalink_link() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a>
<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>
<a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a>
<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>
</h3>
<div class="storycontent">
@@ -93,16 +93,16 @@ require_once($abspath.'wp-links/links.php');
</li>
<li>Other:
<ul>
<li><a href="b2login.php">login</a></li>
<li><a href="b2register.php">register</a></li>
<li><a href="<?php echo $siteurl; ?>/b2login.php">login</a></li>
<li><a href="<?php echo $siteurl; ?>/b2register.php">register</a></li>
</ul>
</li>
<li>Meta:
<ul>
<li><a href="b2rss.php">RSS .92</a></li>
<li><a href="b2rdf.php">RDF 1.0</a></li>
<li><a href="b2rss2.php">RSS 2.0</a></li>
<li><a href="wp-commentsrss2.php">Comments RSS 2.0</a></li>
<li><a href="<?php echo $siteurl; ?>/b2rss.php">RSS .92</a></li>
<li><a href="<?php echo $siteurl; ?>/b2rdf.php">RDF 1.0</a></li>
<li><a href="<?php echo $siteurl; ?>/b2rss2.php">RSS 2.0</a></li>
<li><a href="<?php echo $siteurl; ?>/wp-commentsrss2.php">Comments RSS 2.0</a></li>
<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>
<li><a href="http://wordpress.org" title="Powered by WordPress, personal publishing platform">WP</a></li>
</ul>