URL SEO in mod similar topic

Discussions and support about the different URL Rewriting techniques for phpBB.

Moderator: Moderators

Postby SeO » Sun Feb 01, 2009 8:32 am

No modding should be required for simple urls here.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Advertisement

Re:

Postby dcz » Wed Jun 17, 2009 6:23 pm

Post edited for the ultimate SEO url mod URL SEO in mod similar topic

++
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: 21382
Joined: Fri Apr 28, 2006 9:03 pm

Re: Re:

Postby PDD_20 » Wed Jun 17, 2009 6:36 pm

dcz wrote:Post edited for the ultimate SEO url mod URL SEO in mod similar topic

++


When you can write it for good, i doesnt work :S

Thanks
phpbb SEO URL Premod -- Spanish
http://www.elgrupoinformatico.com
PDD_20
PR1
PR1
 
Posts: 136
Joined: Fri May 23, 2008 4:42 pm
Location: Spain

Re: URL SEO in mod similar topic

Postby dcz » Thu Jun 18, 2009 8:01 am

Please provide with a link to where the mod is officially released and I'll do it ;)

++
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: 21382
Joined: Fri Apr 28, 2006 9:03 pm

Re: URL SEO in mod similar topic

Postby PDD_20 » Thu Jun 18, 2009 1:59 pm

phpbb SEO URL Premod -- Spanish
http://www.elgrupoinformatico.com
PDD_20
PR1
PR1
 
Posts: 136
Joined: Fri May 23, 2008 4:42 pm
Location: Spain

Re: URL SEO in mod similar topic

Postby dcz » Thu Jun 18, 2009 2:59 pm

Open viewtopic.php, find :
Code: Select all
   'SELECT'   => 'f.forum_id, f.forum_name, t.topic_id, t.topic_title, u.user_id, u.username, u.user_colour, t.topic_replies',


Replace with :
Code: Select all
   'SELECT'   => 'f.forum_id, f.forum_name, t.topic_id, t.topic_title, t.topic_type ' . (!empty($phpbb_seo->seo_opt['sql_rewrite']) ? ', t.topic_url' : '') . ', u.user_id, u.username, u.user_colour, t.topic_replies',


Find :
Code: Select all
      if ($auth->acl_get('f_read', $similar['forum_id']))
      {

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


Should do it ;)

++
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: 21382
Joined: Fri Apr 28, 2006 9:03 pm

Re: URL SEO in mod similar topic

Postby PDD_20 » Thu Jun 18, 2009 3:35 pm

Yes, now it works.

You are the best!!!!!!!!

Thanks, Thanks....!!!!
phpbb SEO URL Premod -- Spanish
http://www.elgrupoinformatico.com
PDD_20
PR1
PR1
 
Posts: 136
Joined: Fri May 23, 2008 4:42 pm
Location: Spain

Re: URL SEO in mod similar topic

Postby dcz » Thu Jun 18, 2009 3:37 pm

You're welcome ;)
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: 21382
Joined: Fri Apr 28, 2006 9:03 pm

Re: URL SEO in mod similar topic

Postby dcz » Thu Jun 18, 2009 3:53 pm

Made an official thread for this mod :
[SEO URL] similar topic
++
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: 21382
Joined: Fri Apr 28, 2006 9:03 pm

Previous

Return to phpBB mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot] and 11 guests


 
cron