| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
fabiomaticus
Joined: 06 Jun 2007 Posts: 46 Location: Taranto - Italy
|
Posted: 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

Joined: 28 Apr 2006 Posts: 14131
|
|
| Back to top |
|
 |
fabiomaticus
Joined: 06 Jun 2007 Posts: 46 Location: Taranto - Italy
|
Posted: 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

Joined: 28 Apr 2006 Posts: 14131
|
Posted: 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 |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |