[SEO URL] Board3 portal

phpBB SEO mods by phpBB SEO.

Moderator: Moderators


Re: [SEO URL] Board3 portal

Postby dcz » Sun Dec 27, 2009 4:30 pm

It's normal, the code posted on board3.de is still using phpbb_seo::format_url directly, it's for older versions.
Now it would be something like find :
Code: Select all
         // unread?
         $forum_id = $fetch_news[$i]['forum_id'];
         $topic_id = $fetch_news[$i]['topic_id'];

after add :
Code: Select all
      // www.phpBB-SEO.com SEO TOOLKIT BEGIN
      $fetch_news[$i]['topic_title'] = censor_text($fetch_news[$i]['topic_title']);
      $phpbb_seo->set_url($fetch_news[$i]['forum_name'], $forum_id, $phpbb_seo->seo_static['forum']);
      $phpbb_seo->prepare_iurl($fetch_news[$i], 'topic', $fetch_news[$i]['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]);
      // www.phpBB-SEO.com SEO TOOLKIT END

find :
Code: Select all
         // Show "read full" page
   {
      $i = $news;
      $forum_id = $fetch_news[$i]['forum_id'];
      $topic_id = $fetch_news[$i]['topic_id'];

after add :
Code: Select all
      // www.phpBB-SEO.com SEO TOOLKIT BEGIN
      $fetch_news[$i]['topic_title'] = censor_text($fetch_news[$i]['topic_title']);
      $phpbb_seo->set_url($fetch_news[$i]['forum_name'], $forum_id, $phpbb_seo->seo_static['forum']);
      $phpbb_seo->prepare_iurl($fetch_news[$i], 'topic', $fetch_news[$i]['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$forum_id]);
      // www.phpBB-SEO.com SEO TOOLKIT END

in portal/block/news.php.
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 19873
Joined: Fri Apr 28, 2006 9:03 pm

Advertisement

Re: [SEO URL] Board3 portal

Postby peto » Sun Dec 27, 2009 7:06 pm

Thank you,
I modified the file news.php but it does not work :(
my news.php: http://seo.nefris.sk/news.txt
Need to modify another file as news.php?

thanks
peto
 
Posts: 8
Joined: Sat Dec 26, 2009 9:58 pm

Re: [SEO URL] Board3 portal

Postby peto » Sun Dec 27, 2009 7:07 pm

I need change url from seo.nefris.sk/topic1.html to seo.nefris.sk/welcome-to-phpbb3-t1.html on portal for news block
peto
 
Posts: 8
Joined: Sat Dec 26, 2009 9:58 pm

Re: [SEO URL] Board3 portal

Postby Niecher » Tue Mar 09, 2010 10:10 am

Thanks dcz,

SEO for News works fine.

Regards.
Niecher
 
Posts: 3
Joined: Thu Feb 26, 2009 3:35 am

Previous

Return to phpBB SEO TooLKit

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests


 
cron