--- /home/www/www/apis-by.my/5177dd_index.php
+++ /home/www/www/apis-by.my/000000_index.php
@@ -224,6 +224,11 @@
 	'U_MCP'				=> ($auth->acl_get('m_') || $auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&amp;mode=front', true, $user->session_id) : '')
 );
 
+if (empty($user->page['query_string'])) {
+	$template->assign_var('U_CANONICAL', generate_board_url() . '/');
+}
+
+
 $page_title = ($config['board_index_text'] !== '') ? $config['board_index_text'] : $user->lang['INDEX'];
 
 /**

