From 75527fc2771dec91c5d8be19b0d9c16f79ffbf93 Mon Sep 17 00:00:00 2001 From: spiderr Date: Wed, 20 Nov 2013 11:43:53 -0500 Subject: change canonical to be configurable --- index.php | 2 +- list.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 3d6f770..e255abb 100644 --- a/index.php +++ b/index.php @@ -18,7 +18,7 @@ if( isset($_REQUEST['tags']) ){ $pageTitle = tra( 'Tagged Content' ); if( $listData = $tag->assignContentList( $listHash ) ) { $pageTitle .= ' '.tra( 'with' ).' '.$_REQUEST['tags']; - $gBitSystem->setCanonicalLink( $tag->getDisplayUriWithTag( $_REQUEST['tags'] ) ); + $gBitSystem->setCanonicalLink( $tag->getDisplayUrlWithTag( $_REQUEST['tags'] ) ); } else { $gBitSystem->setHttpStatus( HttpStatusCodes::HTTP_GONE ); } diff --git a/list.php b/list.php index 6c6f165..09d9674 100644 --- a/list.php +++ b/list.php @@ -57,7 +57,7 @@ if( isset($_REQUEST['tags']) ){ $pageTitle = tra( 'Tagged Content' ); if( $listData = $tag->assignContentList( $listHash ) ) { $pageTitle .= ' '.tra( 'with' ).' '.$_REQUEST['tags']; - $gBitSystem->setCanonicalLink( $tag->getDisplayUriWithTag( $_REQUEST['tags'] ) ); + $gBitSystem->setCanonicalLink( $tag->getDisplayUrlWithTag( $_REQUEST['tags'] ) ); } else { $gBitSystem->setHttpStatus( HttpStatusCodes::HTTP_GONE ); } -- cgit v1.3