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  
 
   
no 301 redirect index.php

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



Joined: 09 Oct 2007
Posts: 9

no 301 redirect index.phpPosted: Wed Feb 20, 2008 3:41 am    Post subject: no 301 redirect index.php

Not sure how I can disable this

Reason is I want to use the style= tag in the url for a wap compatible version of my site using a style designed for it

Forum sections and topics let me use the ?style= just fine but I tried mydomain.com/index.php?style=# and mydomain.com/?style=# and they both just redirect to mydomain.com

Would be nice if it could just not redirect mydomain.com/?style=# but still everything else

Any help is appreciated Very Happy


Last edited by rbb on Wed Feb 20, 2008 12:21 pm; edited 1 time in total
Back to top
rbb



Joined: 09 Oct 2007
Posts: 9

no 301 redirect index.phpPosted: Wed Feb 20, 2008 3:49 am    Post subject: Re: no 301 redirect index.php

I should be editing this section in the zero dup index.php right? I'm using the premod

Code:
// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> Zero dupe
$phpbb_seo->page_url = $phpbb_seo->seo_path['phpbb_urlR'] . $phpbb_seo->seo_static['index'] . $phpbb_seo->seo_ext['index'] . (!empty($_SID) ? '?sid=' . $_SID : '');
if ( $user->data['is_registered'] ) {
   $phpbb_seo->seo_cond( !isset($_GET['explain']) );
   $phpbb_seo->seo_cond( (utf8_strpos($phpbb_seo->seo_path['uri'], 'mark=') === FALSE));
}
if ( !$phpbb_seo->seo_opt['zero_dupe']['strict'] ) { // strict mode is here a bit faster
   if ( !$user->data['is_registered'] ) {
      $phpbb_seo->seo_cond( isset($_GET['explain']), false, 'do' );
      $phpbb_seo->seo_cond( (utf8_strpos($phpbb_seo->seo_path['uri'], 'mark=') !== FALSE), false, 'do');
   }
   if ( !empty($phpbb_seo->seo_static['index']) ) {
      $phpbb_seo->seo_cond( (utf8_strpos($phpbb_seo->seo_path['uri'], $phpbb_seo->seo_static['index']) === FALSE), false, 'do');
   } else {
      $phpbb_seo->seo_cond( (utf8_strpos($phpbb_seo->seo_path['uri'], 'index.' . $phpEx) !== FALSE), false, 'do' );
   }
}
$phpbb_seo->seo_chk_dupe($phpbb_seo->seo_path['uri'], $phpbb_seo->page_url);
// www.phpBB-SEO.com SEO TOOLKIT END -> Zero dupe


But I don't know what you do beyond that
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3987

no 301 redirect index.phpPosted: Thu Feb 21, 2008 10:42 am    Post subject: Re: no 301 redirect index.php

http://www.phpbb-seo.com/boards/phpbb3-zero-duplicate/discussions-vt1996.html

Wink

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
rbb



Joined: 09 Oct 2007
Posts: 9

no 301 redirect index.phpPosted: Thu Feb 21, 2008 12:37 pm    Post subject: Re: no 301 redirect index.php

I guess it would've helped for me to post this in the right section, and to search first Embarassed

Thanks
Back to top
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: