| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
rbb
Joined: 09 Oct 2007 Posts: 9
|
Posted: 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  |
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
|
Posted: 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

Joined: 15 Mar 2006 Posts: 3987
|
|
| Back to top |
|
 |
rbb
Joined: 09 Oct 2007 Posts: 9
|
Posted: 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
Thanks |
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |