Use http:// or https:// in URLs based on URL of current page
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
include_once("common.php");
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
@ -11,7 +12,7 @@ get_header();
|
||||
|
||||
<div id="main">
|
||||
<h2 class="center">Error 404 - Page Not Found</h2>
|
||||
<p>Oops, the page you are looking for does not exist. You may search using the search box, or visit the <a href="http://aclindsay.com">homepage</a> to get back on track.</p>
|
||||
<p>Oops, the page you are looking for does not exist. You may search using the search box, or visit the <a href="<?php echo $base_url; ?>">homepage</a> to get back on track.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
1
aclindsa-wordpress-theme/common.php
Symbolic link
1
aclindsa-wordpress-theme/common.php
Symbolic link
@ -0,0 +1 @@
|
||||
../common.php
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
include_once("common.php");
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
@ -12,7 +13,7 @@
|
||||
|
||||
<title><?php wp_title('«', true, 'right'); ?> Blog - aclindsay.com</title>
|
||||
|
||||
<link rel="stylesheet" href="http://aclindsay.com/css/stylesheet.css" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="<?php echo $base_url; ?>/css/stylesheet.css" type="text/css" media="screen" />
|
||||
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
|
||||
|
||||
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
|
||||
@ -22,7 +23,7 @@
|
||||
<body <?php body_class(); ?>>
|
||||
<div id="header">
|
||||
<div id="header-inner">
|
||||
<div id="title"><a href="http://aclindsay.com">aclindsay<span id="title-inner">.com</span></a></div>
|
||||
<div id="title"><a href="<?php echo $base_url; ?>">aclindsay<span id="title-inner">.com</span></a></div>
|
||||
<?php include("tabs.php"); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user