phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Problem with my boards URL's - Simple sub forum
Goto page 1, 2  Next
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite
::  
Author Message
Peter77
phpBB SEO Team
phpBB SEO Team


Joined: 10 May 2006
Posts: 515
Location: Michigan

Problem with my boards URL's - Simple sub forumPosted: Thu May 25, 2006 12:24 am    Post subject: Problem with my boards URL's - Simple sub forum

Small problem with my subforums. ( simple subforums MOD ) on my board, the subforum URL's are ALL named as my last 'regular' forum.

So say the last non subforum is called jokes-vf88.html then all my subforums are called jokes-vf88.html. I click on on the subforum URL and it takes me to the proper forum, but the URL is still http://www.exampple/phpbb/jokes-vf88.html.


Last edited by Peter77 on Thu Jun 08, 2006 10:56 pm; edited 1 time in total
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15135

Problem with my boards URL's - Simple sub forumPosted: Thu May 25, 2006 5:19 am    Post subject: Re: Problem with my boards URL's - Simple sub forum

yop, the sub forum mod needs extra adaptation :

Add on for the simple sub forum mod for the mixed and advanced phpBB seo mod rewrites :
Code:

#
#-----[ OPEN ]------------------------------------------
#


index.php

#
#-----[ FIND ]------------------------------------------
#

      // Append new entry
      $data[] = array(
#
#-----[ BEFORE, ADD ]------------------------------------------
#

         // phpBB-SEO.com SEO TOOLKIT BEGIN
         $seo_forum_name = $forum_data['forum_name'];
         // phpBB-SEO.com SEO TOOLKIT END

#
#-----[ OPEN ]------------------------------------------
#
#

viewforum.php

#
#-----[ FIND ]------------------------------------------
#

      if( $all_forums[$i]['forum_id'] == $parent_id )
      {

#
#-----[ AFTER, ADD ]------------------------------------------
#

               // phpBB-SEO.com SEO TOOLKIT BEGIN
               $seo_forum_name = $all_forums[$i]['forum_name'];
               // phpBB-SEO.com SEO TOOLKIT END

#
#-----[ FIND ]------------------------------------------
#

if( $total_forums )
{

#
#-----[ AFTER, ADD ]------------------------------------------
#
   // phpBB-SEO.com SEO TOOLKIT BEGIN
   $seo_forum_name = $forum_row['forum_name'];
   // phpBB-SEO.com SEO TOOLKIT END


#
#-----[ FIND ]------------------------------------------
#
         $template->assign_block_vars('catrow.forumrow',   array(
            'ROW_COLOR' => '#' . $row_color,
            'ROW_CLASS' => $row_class,

#
#-----[ BEFORE, ADD ]------------------------------------------
#

         // phpBB-SEO.com SEO TOOLKIT BEGIN
         $seo_forum_name = $subforum_data[$j]['forum_name'];
         // phpBB-SEO.com SEO TOOLKIT END
#
#-----[ OPEN ]------------------------------------------
#
#

viewtopic.php

#
#-----[ FIND ]------------------------------------------
#

      if( $all_forums[$i]['forum_id'] == $parent_id )
      {

#
#-----[ AFTER, ADD ]------------------------------------------
#

               // phpBB-SEO.com SEO TOOLKIT BEGIN
               $seo_forum_name = $all_forums[$i]['forum_name'];
               // phpBB-SEO.com SEO TOOLKIT END
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


Those are very simple as for the regular phpbb files moddings.

And there is a small issu with this code, links won't all work until there is a post in all sub forums (not the on hosting them if you like).

This is due to how sud forum does the trick and to the fact I did not want to implement an additional check for a case only supposed to happen very few time before the forum is populated.

Besides, woks like a charm.

Will soon start posting add ons like this one Wink

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche


Last edited by dcz on Wed May 31, 2006 11:07 pm; edited 3 times in total
Back to top
Visit poster's website
Peter77
phpBB SEO Team
phpBB SEO Team


Joined: 10 May 2006
Posts: 515
Location: Michigan

Problem with my boards URL's - Simple sub forumPosted: Thu May 25, 2006 6:34 am    Post subject: Re: Problem with my boards URL's - Simple sub forum

Great... worked like a charm, indeed. thank you. Smile
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15135

Problem with my boards URL's - Simple sub forumPosted: Thu May 25, 2006 6:55 am    Post subject: Re: Problem with my boards URL's - Simple sub forum

Peter77 wrote:
Great... worked like a charm, indeed. thank you. Smile


you're welcome Wink

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15135

Problem with my boards URL's - Simple sub forumPosted: Wed May 31, 2006 5:19 pm    Post subject: Re: Problem with my boards URL's - Simple sub forum

it seems we did not achieved this one proper last time Wink

So here is the problem : http://boards.phpbb-seo.com/phpbb-mod-rewrite/discussions-vt59.html

And the solution : Just look two post ahead, I edited the message for the sub forum's code change.

If you had already installed the previous, just look in viewforum.php and delete the two following piece of code :

Code:

// phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name_save = $seo_forum_name;
// phpBB-SEO.com SEO TOOLKIT END


And :

Code:
// phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name = $seo_forum_name_save;
// phpBB-SEO.com SEO TOOLKIT END


I changed method and they are now useless and could mess with the new modding.

Sorry I have missed this issue Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
sceltic
PR0
PR0


Joined: 04 May 2006
Posts: 55

Problem with my boards URL's - Simple sub forumPosted: Wed May 31, 2006 8:24 pm    Post subject: Re: Problem with my boards URL's - Simple sub forum

dcz, where is the solution?

I can't find it.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15135

Problem with my boards URL's - Simple sub forumPosted: Wed May 31, 2006 8:26 pm    Post subject: Re: Problem with my boards URL's - Simple sub forum

http://boards.phpbb-seo.com/phpbb-mod-rewrite/discussions-vt41.html#234

Wink

Quote:
And the solution : Just look two post ahead


Now it's a bit more.

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
sceltic
PR0
PR0


Joined: 04 May 2006
Posts: 55

Problem with my boards URL's - Simple sub forumPosted: Wed May 31, 2006 8:33 pm    Post subject: Re: Problem with my boards URL's - Simple sub forum

This is a viewtopic problem!

On viewtopic the forum all have the same key words
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15135

Problem with my boards URL's - Simple sub forumPosted: Wed May 31, 2006 11:07 pm    Post subject: Re: Problem with my boards URL's - Simple sub forum

Lol, I am so stubborn sometime Wink

Code:
#
#-----[ OPEN ]------------------------------------------
#
#

viewtopic.php

#
#-----[ FIND ]------------------------------------------
#

      if( $all_forums[$i]['forum_id'] == $parent_id )
      {

#
#-----[ AFTER, ADD ]------------------------------------------
#

               // phpBB-SEO.com SEO TOOLKIT BEGIN
               $seo_forum_name = $all_forums[$i]['forum_name'];
               // phpBB-SEO.com SEO TOOLKIT END

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Peter77
phpBB SEO Team
phpBB SEO Team


Joined: 10 May 2006
Posts: 515
Location: Michigan

Problem with my boards URL's - Simple sub forumPosted: Thu Jun 01, 2006 8:47 pm    Post subject: Re: Problem with my boards URL's - Simple sub forum

I was missing one part from the simple subforum MOD ( from repairing viewtopic.php ). no wonder I did not see this problem. heh, thanks for the fix.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15135

Problem with my boards URL's - Simple sub forumPosted: Thu Jun 01, 2006 8:50 pm    Post subject: Re: Problem with my boards URL's - Simple sub forum

I think we have it now Wink

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
zinnerz
PR0
PR0


Joined: 08 Jun 2006
Posts: 75

Problem with my boards URL's - Simple sub forumPosted: Thu Jun 08, 2006 7:20 pm    Post subject: Re: Problem with my boards URL's - Simple sub forum

I've just installing phpBB 2.021 + SEO advanced mod rewrite 0.01 + simple sub forums 1.0.1 + eXtreme Styles mod v2.31

My subforum link is not working, the link is directly to the main forum although I'm in subforum

Is the hack is not compatible with the latest phpBB?

I've repeat 2 times to implementing those hack carefully, but it's still didnt working Sad

Please help me how to make it works..
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15135

Problem with my boards URL's - Simple sub forumPosted: Thu Jun 08, 2006 7:28 pm    Post subject: Re: Problem with my boards URL's - Simple sub forum

If you implemented this fix fully, it's working.

The issue comes from simple sub forum itself, not showing up the URL when the sub forums are empty.

Please post or PM me a link if available if you experience further problems.

The link on index should still work though Wink

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
zinnerz
PR0
PR0


Joined: 08 Jun 2006
Posts: 75

Problem with my boards URL's - Simple sub forumPosted: Thu Jun 08, 2006 7:49 pm    Post subject: Re: Problem with my boards URL's - Simple sub forum

I mean, the link is not in /subforum/link.html
the link still pointing to /link.html although I'm in subforum
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15135

Problem with my boards URL's - Simple sub forumPosted: Thu Jun 08, 2006 8:05 pm    Post subject: Re: Problem with my boards URL's - Simple sub forum

zinnerz wrote:
I mean, the link is not in /subforum/link.html
the link still pointing to /link.html although I'm in subforum


Then, this is normal, what the phpBB SEO mod Rewrites are doing is demonstrated here.

This site is obviously using some experimental code, and we will see if it was so good. HTTP 301 is with so I don't risk much. Not to tell I rewrote almost all of phpBB linking.

Anyway, the phpBB SEO mod rewrites are really working, and they will, together with mx Google Sitemaps and mx Sitemaps, will help you out a lot to get better Ranked.

Please take your time to fully understand what the mods are doing and what can be the best one for your needs.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite
Page 1 of 2 Goto page 1, 2  Next

Navigation Similar Topics

Jump to: