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  
 
   
extra mod_rewrite with advanced seo and zero dupe
Goto page Previous  1, 2
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Advanced mod Rewrite
::  
Author Message
lavinya
PR1
PR1


Joined: 24 Jul 2006
Posts: 159
Location: Turkey

extra mod_rewrite with advanced seo and zero dupePosted: Thu Feb 08, 2007 5:51 pm    Post subject: Re: extra mod_rewrite with advanced seo and zero dupe

ok big thanks dcz. Normal Login works.

But admin login:
Code:
http://www.lavinya.net/phpBB2/admin/http://www.lavinya.net/phpBB2/?admin=1&sid=b98f891f93957df4c931ec46a805f4d5


how to fix?
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

extra mod_rewrite with advanced seo and zero dupePosted: Thu Feb 08, 2007 6:03 pm    Post subject: Re: extra mod_rewrite with advanced seo and zero dupe

Hum, this is because this time it's the full path to admin to be hard coded it seems.

Don't you remember where you added it ?

Make sure you have this in admin/pagestart.php :

Code:
if (!$userdata['session_logged_in'])
{
   redirect(append_sid("login.$phpEx?redirect=admin/index.$phpEx", true));
}


and :
Code:

if (!$userdata['session_admin'])
{
   redirect(append_sid("login.$phpEx?redirect=admin/index.$phpEx&admin=1", true));
}

_________________
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
lavinya
PR1
PR1


Joined: 24 Jul 2006
Posts: 159
Location: Turkey

extra mod_rewrite with advanced seo and zero dupePosted: Thu Feb 08, 2007 9:33 pm    Post subject: Re: extra mod_rewrite with advanced seo and zero dupe

I have below code Sad
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

extra mod_rewrite with advanced seo and zero dupePosted: Fri Feb 09, 2007 12:29 pm    Post subject: Re: extra mod_rewrite with advanced seo and zero dupe

Well, this means you did change something to your phpBB install, and you should remember about it Wink

Anyway, you can try replacing :


Code:
if ( strpos($url, $phpbb_seo->seo_path['phpbb_url']) === FALSE ) {


With :
Code:

if ( strpos($url, $phpbb_seo->seo_path['root_url']) === FALSE ) {


in includes/functions.php.

++

_________________
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  » Advanced mod Rewrite
Page 2 of 2 Goto page Previous  1, 2

Navigation Similar Topics

Jump to: