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 PHPBB3 Adv Rewrite Mod and FAQ page

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
::  
Author Message
pvchat1



Joined: 15 Jul 2007
Posts: 13
Location: California

Problem with PHPBB3 Adv Rewrite Mod and FAQ pagePosted: Sun Jul 15, 2007 3:24 pm    Post subject: Problem with PHPBB3 Adv Rewrite Mod and FAQ page

I'm testing the SEO mods and there seems to be a problem with the relative links on the faq page not working anymore because of the added base href. Removing that will allow the faq page to work correctly but then all the relative links (style, etc) on the forum pages no longer work.

Thanks,
Jeff
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15135

Problem with PHPBB3 Adv Rewrite Mod and FAQ pagePosted: Thu Jul 19, 2007 9:22 am    Post subject: Re: Problem with PHPBB3 Adv Rewrite Mod and FAQ page

Hum, interesting.

This bug will be fixed for the RC3.

Thanks for reporting.

++

_________________
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
thedolphinboy



Joined: 24 Jul 2007
Posts: 8

Problem with PHPBB3 Adv Rewrite Mod and FAQ pagePosted: Fri Jul 27, 2007 4:22 pm    Post subject: Re: Problem with PHPBB3 Adv Rewrite Mod and FAQ page

I have same problem, links inside faq.php doesnt work and jump to index again...
any quick fix until arrive RC3, please??? thanks...
Back to top
pvchat1



Joined: 15 Jul 2007
Posts: 13
Location: California

Problem with PHPBB3 Adv Rewrite Mod and FAQ pagePosted: Fri Jul 27, 2007 9:21 pm    Post subject: Re: Problem with PHPBB3 Adv Rewrite Mod and FAQ page

I fixed it for now by creating a template variable that gets set in faq.php and gets checked in overall_header.html to skip adding the href.

Basically like this

Code:
<!-- IF not S_HIDE_HREFBASE --><base href="{PHPBB_FULL_URL}"><!-- ENDIF -->
Back to top
thedolphinboy



Joined: 24 Jul 2007
Posts: 8

Problem with PHPBB3 Adv Rewrite Mod and FAQ pagePosted: Fri Jul 27, 2007 10:38 pm    Post subject: Re: Problem with PHPBB3 Adv Rewrite Mod and FAQ page

sorry about question, but where i must copy it, in faq.php or in overall_header.html???? and where in it??? can i put it where i wanna??
thanks anyway, sounds perfect Wink
Back to top
pvchat1



Joined: 15 Jul 2007
Posts: 13
Location: California

Problem with PHPBB3 Adv Rewrite Mod and FAQ pagePosted: Fri Jul 27, 2007 10:51 pm    Post subject: Re: Problem with PHPBB3 Adv Rewrite Mod and FAQ page

ok - here are the changes in context.

in overall_header.html
Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<!-- IF not S_HIDE_HREFBASE --><base href="{PHPBB_FULL_URL}"><!-- ENDIF -->


and in faq.php (and any other non-forum content type page)
Code:

// Lets build a page ...
$template->assign_vars(array(
        'S_HIDE_HREFBASE' => true,
   'L_FAQ_TITLE'   => $l_title,
   'L_BACK_TO_TOP'   => $user->lang['BACK_TO_TOP'])
);

Back to top
thedolphinboy



Joined: 24 Jul 2007
Posts: 8

Problem with PHPBB3 Adv Rewrite Mod and FAQ pagePosted: Fri Jul 27, 2007 10:59 pm    Post subject: Re: Problem with PHPBB3 Adv Rewrite Mod and FAQ page

yeahhhhhhhhh it works PERFECT!!!!! thanks a lot, you are really a genius!!!! Laughing
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15135

Problem with PHPBB3 Adv Rewrite Mod and FAQ pagePosted: Fri Aug 03, 2007 1:54 pm    Post subject: Re: Problem with PHPBB3 Adv Rewrite Mod and FAQ page

This one went fixed in the RC3.

++

_________________
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
pvchat1



Joined: 15 Jul 2007
Posts: 13
Location: California

Problem with PHPBB3 Adv Rewrite Mod and FAQ pagePosted: Mon Aug 06, 2007 12:16 am    Post subject: Re: Problem with PHPBB3 Adv Rewrite Mod and FAQ page

Yes - tried this latest RC out and that problem along with a few others is now fixed. Good job.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15135

Problem with PHPBB3 Adv Rewrite Mod and FAQ pagePosted: Sun Aug 12, 2007 8:46 am    Post subject: Re: Problem with PHPBB3 Adv Rewrite Mod and FAQ page

The next version is currently being tested internally, will be 0.4.0RC1 with many new features 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
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: