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 "remove index from forum" fix iwth Ad

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Advanced mod Rewrite
::  
Author Message
Peter77
phpBB SEO Team
phpBB SEO Team


Joined: 10 May 2006
Posts: 512
Location: Michigan

Problem with "remove index from forum" fix iwth AdPosted: Tue Jan 23, 2007 8:00 am    Post subject: Problem with "remove index from forum" fix iwth Ad

If you remember the thread about the patch of removing index.php from the forum, there seems to be a conflict with that code. actually anything to do with seo_redirect()


Fatal error: Call to undefined function: seo_redirect() in /home/juarol3/public_html/sucasa/index.php on line 74

Or another words:
Code:
$mark_read = '';
}
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$uri = $_SERVER['REQUEST_URI'];
If ($mark_read == '' && $viewcat == -1 && strpos($uri, "index.$phpEx")) {
seo_redirect(PHPBB_URL);
}
// www.phpBB-SEO.com SEO TOOLKIT END


This only happens when actually entering the URL with index.php included. But this can not be helped anyway since even our own ACP gives us the link.

_________________
Juarol.com
| Frekuenciadigital.com |
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

Problem with "remove index from forum" fix iwth AdPosted: Tue Jan 23, 2007 9:40 am    Post subject: Re: Problem with "remove index from forum" fix iwth Ad

Well, all the SEO mods should be 0.2.x to work together, the 0.0.2 series is not compatible.

In this case you can juste replace :

Code:
seo_redirect


with

Code:
$phpbb_seo->seo_redirect


But the zero dupe 0.2.0 is taking care of this matter (index.php), so you'll soon have to update 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
tweety
PR0
PR0


Joined: 24 Jan 2007
Posts: 94

Problem with "remove index from forum" fix iwth AdPosted: Sun Mar 04, 2007 4:53 pm    Post subject: Re: Problem with "remove index from forum" fix iwth Ad

THIS WAS ANSWER TO MY MANY QUESTIONS.

to help others not wasted time

please can you tell me what did I do wrong here, I follow your update from
Code:
##############################################################
## MOD Title:       phpBB SEO Advanced Zero duplicate 0.2.0 => 0.2.2 update
## MOD Author:       dcz <n/a> http://www.phpbb-seo.com/
## MOD Description:    This are the update steps for the phpBB SEO Advanced Zero duplicate 0.2.0 => 0.2.2 update.
##          Check http://www.phpbb-seo.com/
##          for the latest version or to get help with this MOD
##
## MOD Version:    1.0
##
## Installation Level:    (Easy)
## Installation Time:    3 Minutes
## Files To Edit:    (4)
##         index.php,
##         viewforum.php,
##         viewtopic.php,
##         includes/usercp_viewprofile.php
## Included Files: n/a
##############################################################
## Author Notes:
## _____________
##
## This are the update steps for the phpBB SEO Advanced Zero duplicate 0.2.0 => 0.2.2 update.
##
## PLEASE NOTE :
## _____________
##
## The 0.2.0 version is been rewritten from scratch, and is really different from the 0.0.x.
## Mods should be patched in a similar manner, but previous patches won't work with this version.
## This means that you will have to make sure all the patches you're using are up to date before
## you update.
##
##
##
##############################################################
## MOD History:
##
##   2007-02-03 - 1.0
##      - First version released
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################


#
#-----[ DIY INSTRUCTIONS ]--------------------------------------------------
#

______________________________
NOTE : VERSION UPDATE CHECKING
______________________________
if you are using XS mod ( http://www.phpbbstyles.com/viewtopic.php?t=356 ), by the way you should,
Upload :

contrib/xs_advanced_mod_rewrite.cfg

in your forum's admin/ folder, XS mod version checking will be extended to this mod.

_________________________________________
>>>>   INSTALLATION INSTRUCTIONS    <<<<<
_________________________________________

This update procedure will keep the previous URL standard used.
No changes in .htaccess.

_________
WARNING :
_________

This update is mainly here to get rid of the PHPBB_URL constant.
You should now use :

$phpbb_seo->seo_path['phpbb_script'] instead of PHPBB_SCRIPT
$phpbb_seo->seo_path['root_url'] instead of ROOT_URL
$phpbb_seo->seo_path['phpbb_url'] instead of PHPBB_URL

everywhere you'll find these in phpBB code.

This version is compatible with the phpBB SEO mod rewrite 0.2.2 and above.

#
#-----[ OPEN ]------------------------------------------
#

index.php


#
#-----[ FIND ]------------------------------------------
#

      $phpbb_seo->seo_redirect(PHPBB_URL . $phpbb_seo->page_url);


#
#-----[ REPLACE WITH ]------------------------------------------
#

      $phpbb_seo->seo_redirect($phpbb_seo->seo_path['phpbb_url'] . $phpbb_seo->page_url);

#
#-----[ FIND ]------------------------------------------
#
      $phpbb_seo->seo_redirect(PHPBB_URL . $phpbb_seo->seo_static['index']);

#
#-----[ REPLACE WITH ]------------------------------------------
#

      $phpbb_seo->seo_redirect($phpbb_seo->seo_path['phpbb_url'] . $phpbb_seo->seo_static['index']);

#
#-----[ OPEN ]------------------------------------------
#

viewforum.php

#
#-----[ FIND ]------------------------------------------
#

   $phpbb_seo->seo_redirect( PHPBB_URL . $phpbb_seo->page_url );

#
#-----[ REPLACE WITH ]------------------------------------------
#

   $phpbb_seo->seo_redirect( $phpbb_seo->seo_path['phpbb_url'] . $phpbb_seo->page_url );

#
#-----[ FIND ]------------------------------------------
#

   $phpbb_seo->seo_redirect( PHPBB_URL . $phpbb_seo->page_url );

#
#-----[ REPLACE WITH ]------------------------------------------
#

   $phpbb_seo->seo_redirect( $phpbb_seo->seo_path['phpbb_url'] . $phpbb_seo->page_url );

#
#-----[ OPEN ]------------------------------------------
#

viewtopic.php

#
#-----[ FIND ]------------------------------------------
#

   $phpbb_seo->seo_redirect( PHPBB_URL . $phpbb_seo->page_url . ( ( $post_id ) ? "#$post_id" : "" ) );

#
#-----[ REPLACE WITH ]------------------------------------------
#

   $phpbb_seo->seo_redirect( $phpbb_seo->seo_path['phpbb_url'] . $phpbb_seo->page_url . ( ( $post_id ) ? "#$post_id" : "" ) );

#
#-----[ OPEN ]------------------------------------------
#

includes/usercp_viewprofile.php

#
#-----[ FIND ]------------------------------------------
#

   $phpbb_seo->seo_redirect(PHPBB_URL . $phpbb_seo->page_url);

#
#-----[ REPLACE WITH ]------------------------------------------
#

   $phpbb_seo->seo_redirect($phpbb_seo->seo_path['phpbb_url'] . $phpbb_seo->page_url);

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


maybe this is not clear

please accept this as positive, this board is the best seo phpbb in the www
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14327

Problem with "remove index from forum" fix iwth AdPosted: Sun Mar 04, 2007 8:23 pm    Post subject: Re: Problem with "remove index from forum" fix iwth Ad

I did not understand what you mean here, do you have trouble updating ?

Are you sure this is the correct thread ? and why posting the update itself since we all know about it's content here, or at least can download the zip file when required ?

++

_________________
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 1 of 1

Navigation Similar Topics

Jump to: