| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
neboor
Joined: 16 Jan 2007 Posts: 5
|
Posted: Tue May 08, 2007 10:22 pm Post subject: Is this possible ? |
|
|
Hi, i use a advanced mod rewrite and i love it, congratulations for the developers.
I wonder if there is a way to hide all extensions.
For example :
-http://www.yourforum.com/memberlist/
-http://www.yourforum.com/search/
-http://www.yourforum.com/vt-topic-title/
-http://www.youtforum.com/nickname-profile/
Is this possible ?
Thanx in advance!! |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
Posted: Wed May 09, 2007 8:41 am Post subject: Re: Is this possible ? |
|
|
And welcome
It's is of course possible, but requires some coding.
The main problem is this implies the use of absolute url for both links and images, since virtual folders would break relative ones.
The mod rewrite part is pretty easy, you can end up with forum-title-fxx/ by just editing the forum extension in phpbb_seo_class.php :
| Code: | $this->seo_ext = array('cat' => '.html',
'forum' => '.html', |
To :
| Code: | $this->seo_ext = array('cat' => '.html',
'forum' => '/', |
For example, and mod the .htaccess accordingly :
| Code: | # PAGINATED FORUM
RewriteRule ^[a-z0-9_-]*-f([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^[a-z0-9_-]*-f([0-9]+)\.html$ /viewforum.php?f=$1 [QSA,L,NC] |
to :
| Code: | # PAGINATED FORUM
RewriteRule ^[a-z0-9_-]*-f([0-9]+)-([0-9]+)/$ /viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^[a-z0-9_-]*-f([0-9]+)/$ /viewforum.php?f=$1 [QSA,L,NC]
|
But as said, this implies absolute linking, which is a bit more tricky.
It's not impossible though, that at one time we start releasing solutions for this
It will be a feature of the phpBB3 mod rewrite
++ |
_________________ 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 |
|
 |
hbbt
Joined: 05 May 2007 Posts: 30
|
Posted: Sun May 13, 2007 6:24 pm Post subject: Re: Is this possible ? |
|
|
| Do you plan to have all of the same rewrites and mods for phpbb3? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |