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  
 
   
Advanced mod rewrite compatible with ezportal

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



Joined: 06 Jun 2007
Posts: 46
Location: Taranto - Italy

Advanced mod rewrite compatible with ezportalPosted: Mon Jul 09, 2007 11:58 am    Post subject: Advanced mod rewrite compatible with ezportal

Is Advanced mod rewrite compatible with exportal?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14131

Advanced mod rewrite compatible with ezportalPosted: Wed Jul 11, 2007 7:25 pm    Post subject: Re: Advanced mod rewrite compatible with ezportal

Looks like I started to answer you there

Let's continue here though, In case you need to know more 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
fabiomaticus



Joined: 06 Jun 2007
Posts: 46
Location: Taranto - Italy

Advanced mod rewrite compatible with ezportalPosted: Tue Jul 17, 2007 6:14 pm    Post subject: Re: Advanced mod rewrite compatible with ezportal

I have installed Ezportal on my forum.

Link ezportal ---> www.500forum.it
Lint forum ---> www.500forum.it/forum.php

How rewrite forum.php in forum.html?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14131

Advanced mod rewrite compatible with ezportalPosted: Thu Jul 19, 2007 10:26 am    Post subject: Re: Advanced mod rewrite compatible with ezportal

You'll just need to open phpbb_seo/phpbb_seo_class.php and look for :

Code:
   /**
   * URL rewritting for index.php
   * @access private
   */
   function index() {
      if ( !empty($this->get_vars[POST_CAT_URL]) && !empty($this->seo_url['cat'][$this->get_vars[POST_CAT_URL]]) ) {
         $this->url = $this->seo_url['cat'][$this->get_vars[POST_CAT_URL]] . $this->seo_delim['cat'] . $this->get_vars[POST_CAT_URL] . $this->seo_ext['cat'];
         unset($this->get_vars[POST_CAT_URL]);
      } else {
         $this->url = $this->seo_path['phpbb_url'] . $this->seo_static['index'];
      }
      return;
   }


and add after :

Code:
   /**
   * URL rewritting for forum.php
   * @access private
   */
   function forum() {
      if ( !empty($this->get_vars[POST_CAT_URL]) && !empty($this->seo_url['cat'][$this->get_vars[POST_CAT_URL]]) ) {
         $this->url = $this->seo_url['cat'][$this->get_vars[POST_CAT_URL]] . $this->seo_delim['cat'] . $this->get_vars[POST_CAT_URL] . $this->seo_ext['cat'];
         unset($this->get_vars[POST_CAT_URL]);
      } else {
         $this->url = $this->seo_path['phpbb_url'] . $this->seo_static['index'];
      }
      return;
   }


which is just the same exact function, but renamed to fit the forum.php file.

++

_________________
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: