Hello Sir, I am using PHPBB SEO Premod. I am wanted to redirect the deleted topics to index. How to made this possible that all deleted topics auto redirect to index.
The requested topic does not exist move to index
Thank You.
Regards,
Moderator: Moderators
// Do we have a topic or post id?
if (!$topic_id && !$post_id)
{
trigger_error('NO_TOPIC');
}// Do we have a topic or post id?
if (!$topic_id && !$post_id)
{
$phpbb_seo->seo_redirect($phpbb_seo->seo_path['phpbb_url']);
exit;
}

/**
* @todo normalize?
*/
$hilit_words = request_var('hilit', '', true);
// Do we have a topic or post id?
if (!$topic_id && !$post_id)
{
$phpbb_seo->seo_redirect($phpbb_seo->seo_path['phpbb_url']);
exit;
}
// Find topic id if user requested a newer or older topic
if ($view && !$post_id)
{
if (!$forum_id)
{
$sql = 'SELECT forum_id
FROM ' . TOPICS_TABLE . "

Users browsing this forum: Google [Bot] and 21 guests