| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
ASLAN PR0

Joined: 19 Nov 2007 Posts: 58 Location: Chile
|
Posted: Fri May 23, 2008 2:26 am Post subject: Adding custom Portal |
|
|
I'm mading my own portal
I modified .htaccess adding this code to make portal.php the starting page
| Code: | | DirectoryIndex index.html index.htm portal.php index.php |
Everyting's OK, the site start on portal.php
But if I try to go to the forums (index.php) the SEO Premod redirect to my domain url (same as portal.php)
How could I correct this ???
How I let index.php don't redirect and be index.php ???
Excuse my english and I hope have been clear
Thanks |
|
|
| Back to top |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3987
|
Posted: Fri May 23, 2008 2:58 pm Post subject: Re: Adding custom Portal |
|
|
| phpBB3-SEO-Premod_V_3.0.1.txt wrote: | => By Default, this mod will get rid of index.php for phpBB's index.
You can change this in phpbb_seo/phpbb_seo_class.php if you prefer.
Look for :
'index' => ''
In this line of code :
$this->seo_static = array( 'forum' => 'forum', 'topic' => 'topic', 'post' => 'post', 'user' => 'member', 'group' => 'group', 'index' => '', 'global_announce' => 'announces', 'leaders' => 'the-team', 'atopic' => 'active-topics', 'utopic' => 'unanswered', 'npost' => 'newposts', 'pagination' => 'page', 'gz_ext' => '.gz' );
And replace with :
'index' => 'forum'
or whatever you may prefer.
This is mostly useful if you're running a portal in the folder where phpBB is installed. |
 |
_________________ 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 |
|
 |
ASLAN PR0

Joined: 19 Nov 2007 Posts: 58 Location: Chile
|
Posted: Fri May 23, 2008 4:01 pm Post subject: Re: Adding custom Portal |
|
|
| Thanks a lot ... as always |
|
|
| Back to top |
|
 |
ASLAN PR0

Joined: 19 Nov 2007 Posts: 58 Location: Chile
|
Posted: Fri May 23, 2008 4:23 pm Post subject: Re: Adding custom Portal |
|
|
It works but forum.html send an error 404
I tryed too with index.php index.html and forum.php |
|
|
| Back to top |
|
 |
ASLAN PR0

Joined: 19 Nov 2007 Posts: 58 Location: Chile
|
Posted: Fri May 23, 2008 4:29 pm Post subject: Re: Adding custom Portal |
|
|
sorry, sorry, sorry
I forgot update .htaccess
Everything works perfect
Thanks a lot |
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |