From d322e56d42952c0a061d042b71e29c890866f652 Mon Sep 17 00:00:00 2001 From: spiderr Date: Wed, 20 Nov 2013 11:43:44 -0500 Subject: change canonical to be configurable --- display_structure_inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'display_structure_inc.php') diff --git a/display_structure_inc.php b/display_structure_inc.php index ad57084..9e0f738 100644 --- a/display_structure_inc.php +++ b/display_structure_inc.php @@ -15,7 +15,7 @@ global $gContent; include_once( LIBERTY_PKG_PATH.'lookup_content_inc.php' ); if( is_object( $gContent ) && $gContent->isValid() ) { $gBitSystem->setBrowserTitle( $gStructure->getRootTitle().' : '.$gContent->getTitle() ); - $gBitSystem->setCanonicalLink( $gContent->getDisplayUri() ); + $gBitSystem->setCanonicalLink( $gContent->getDisplayUrl() ); include $gContent->getRenderFile(); } else { $gBitSystem->fatalError( tra( 'Page cannot be found' ), NULL, NULL, HttpStatusCodes::HTTP_GONE ); -- cgit v1.3