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  
 
   
Redirection loop for auto-refresh messages

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » Zero duplicate
::  
Author Message
HB
phpBB SEO Team
phpBB SEO Team


Joined: 16 Oct 2006
Posts: 795

Redirection loop for auto-refresh messagesPosted: Sun Feb 04, 2007 8:11 pm    Post subject: Redirection loop for auto-refresh messages

I've installed the Advanced rewrite Mod and Zero duplicate on a test server. It may be corrected in the upcoming version 0.2.2, but I found 0.2.0's redirection to index.php common in the message displays after submit. I applied the change below to avoid the loop:

Code:
$message = $lang['Error_login'] . '<br /><br />' . sprintf($lang['Click_return_login'], "<a href=\"login.$phpEx?redirect=$redirect\">", '</a>') . '<br /><br />' .  sprintf($lang['Click_return_index'], '<a href="' . append_sid($board_config['script_path']) . '">', '</a>');

The URL generated by phpbb_seo_class's rewrite would point back to the caller URL (e.g., the remapped viewforum.php) including the parameters, not the forum index, thereby redisplaying the message. Sort of amusing the first time. The temporary code change is append_sid("index.$phpEx") to append_sid($board_config['script_path']). Rather than fuss with phpbb_seo_class, I simply changed all occurrences of the base install since I don't want to see index.php anyway.

_________________
Dan Kehn
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

Redirection loop for auto-refresh messagesPosted: Mon Feb 05, 2007 12:14 am    Post subject: Re: Redirection loop for auto-refresh messages

Yes, I think this will be solved too, actually, it's a side effect of the early bug fixes I think.

My bet is the link was not really linked the the url, but empty, which is mostly the same from the user experience.

++

_________________
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 SEO TooLKit  » Zero duplicate
Page 1 of 1

Navigation Similar Topics

Jump to: