| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
macnack PR0

Joined: 20 Jun 2006 Posts: 97
|
Posted: Fri Jul 21, 2006 5:04 pm Post subject: mixed mod rewrite - chategorie hierarchy |
|
|
Hello
I want to have mixed mod rewrite on a chategorie hierarchy php.
I want to use this htaccess | Code: | #########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
RewriteRule ^.+/([^/]+\.html)$ /index.php [R=301,L]
# PAGINATED FORUM
RewriteRule ^.+-vf([0-9]+)-([0-9]+)\.html$ /index.php?f=$1&start=$2 [QSA,L]
# FORUM /CATEGORIE
RewriteRule ^.+-vf([0-9]+)\.html$ /index.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^topic([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^topic([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
##################################################### |
But then I don´t know what to do.
I don`t find | Code: | if (isset($display_categories[$cat_id]) && $display_categories[$cat_id])
{ |
of course in chphpbb categorie table is delete and information for categories are written in forum table (cat_id,forum_name,forum_order) |
_________________ macnack |
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |