| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Sat Aug 11, 2007 12:06 pm Post subject: MX sitemap code error |
|
|
My forum shows error at bottom of pages such as
http://www.asia-expatsforum.com/phpBB2/china-expat-forum-vf11.html
line 33 is part of mx sitemap code
| Code: | //Begin mx_Sitemaps Auto link Add On http://www.phpbb-seo.com/
$mx_forum_id =( isset($HTTP_GET_VARS[POST_FORUM_URL]) )? intval($HTTP_GET_VARS[POST_FORUM_URL]) : 0;
$root_url = 'http://www.asia-expatsforum.com/phpBB2/';
if ( $mx_forum_id != 0 )
{
[b]$mx_link_tmp = append_sid($root_url . format_url($forum_row['forum_name']) . '-fmp' .$mx_forum_id . '.html');[/b]
$link_title = $forum_row['forum_name'].' - Map';
$mx_sitemap_link = '<a href="'.$mx_link_tmp.'" class="copyright" title="'.$link_title.'">'.$link_title.'</a>';
$mx_sitemap_link .= '<br /><a href="'.append_sid($root_url . 'forum-map.html').'" class="copyright" title="Forum Map">Forum Map</a>';
$mx_sitemap_link .= '<br /><a href="'.append_sid($root_url . 'sitemaps.html').'" class="copyright" title="'.$board_config['sitename'].' : Site Map">Site Map</a>';
}
else
{
$mx_sitemap_link = '<a href="'.append_sid($root_url . 'forum-map.html').'" class="copyright" title="Forum Map">Forum Map</a>';
$mx_sitemap_link .= '<br /><a href="'.append_sid($root_url . 'sitemaps.html').'" class="copyright" title="'.$board_config['sitename'].' : Site Map">Site Map</a>';
}
//End mx_Sitemaps Auto link Add On http://www.phpbb-seo.com/
//
i have highligted the code that returns the error |
|
|
|
| Back to top |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3477
|
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Sat Aug 11, 2007 12:18 pm Post subject: Re: MX sitemap code error |
|
|
thanks--
seems to have solved the problem |
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |