diff options
Diffstat (limited to 'phpBB/phpbb_seo/cache')
-rw-r--r-- | phpBB/phpbb_seo/cache/.htaccess | 80 | ||||
-rw-r--r-- | phpBB/phpbb_seo/cache/.htaccess.current | 80 | ||||
-rw-r--r-- | phpBB/phpbb_seo/cache/phpbb_cache.php | 12 | ||||
-rw-r--r-- | phpBB/phpbb_seo/cache/phpbb_cache.php.current | 12 | ||||
-rw-r--r-- | phpBB/phpbb_seo/cache/phpbb_cache.php.old | 12 |
5 files changed, 196 insertions, 0 deletions
diff --git a/phpBB/phpbb_seo/cache/.htaccess b/phpBB/phpbb_seo/cache/.htaccess new file mode 100644 index 0000000000..69e3a64277 --- /dev/null +++ b/phpBB/phpbb_seo/cache/.htaccess @@ -0,0 +1,80 @@ +# Lines That should already be in your .htacess +<Files "config.php"> + Order Allow,Deny + Deny from All +</Files> +<Files "common.php"> + Order Allow,Deny + Deny from All +</Files> + +# You may need to un-comment the following lines +# Options +FollowSymlinks +# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist +# Options -MultiViews +# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE +RewriteEngine On +# Uncomment the statement below if you want to make use of +# HTTP authentication and it does not already work. +# This could be required if you are for example using PHP via Apache CGI. +# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] +# REWRITE BASE +RewriteBase / +# HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN +# RewriteCond %{HTTP_HOST} !^forums\.mageia\.org$ [NC] +# RewriteRule ^(.*)$ http://forums.mageia.org/$1 [QSA,L,R=301] + +# DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS +RewriteCond %{REQUEST_FILENAME} -f +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule . - [L] +##################################################### +# PHPBB SEO REWRITE RULES ALL MODES +##################################################### +# AUTHOR : dcz www.phpbb-seo.com +# STARTED : 01/2006 +################################# +# FORUMS PAGES +############### +# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX +# RewriteRule ^en/forum\.html$ /en/index.php [QSA,L,NC] +# FORUM ALL MODES +RewriteRule ^en/(forum|[a-z0-9_-]*-f)([0-9]+)/?(page([0-9]+)\.html)?$ /en/viewforum.php?f=$2&start=$4 [QSA,L,NC] +# TOPIC WITH VIRTUAL FOLDER ALL MODES +RewriteRule ^en/(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /en/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC] +# TOPIC WITHOUT FORUM ID & DELIM ALL MODES +RewriteRule ^en/([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /en/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC] +# PHPBB FILES ALL MODES +RewriteRule ^en/resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /en/download/file.php?id=$2&t=$1 [QSA,L,NC] +# PROFILES THROUGH USERNAME +RewriteRule ^en/member/([^/]+)/?$ /en/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC] +# USER MESSAGES THROUGH USERNAME +RewriteRule ^en/member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /en/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC] +# GROUPS ALL MODES +RewriteRule ^en/(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /en/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC] +# POST +RewriteRule ^en/post([0-9]+)\.html$ /en/viewtopic.php?p=$1 [QSA,L,NC] +# ACTIVE TOPICS +RewriteRule ^en/active-topics(-([0-9]+))?\.html$ /en/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC] +# UNANSWERED TOPICS +RewriteRule ^en/unanswered(-([0-9]+))?\.html$ /en/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC] +# NEW POSTS +RewriteRule ^en/newposts(-([0-9]+))?\.html$ /en/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC] +# UNREAD POSTS +RewriteRule ^en/unreadposts(-([0-9]+))?\.html$ /en/search.php?search_id=unreadposts&start=$2 [QSA,L,NC] +# THE TEAM +RewriteRule ^en/the-team\.html$ /en/memberlist.php?mode=leaders [QSA,L,NC] +# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES + +# FORUM WITHOUT ID & DELIM ALL MODES +# THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^en/([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ /en/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC] +# FIX RELATIVE PATHS : FILES +RewriteRule ^en/.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /en/$1 [QSA,L,NC,R=301] +# FIX RELATIVE PATHS : IMAGES +RewriteRule ^en/.+/(styles/.*|images/.*)/$ /en/$1 [QSA,L,NC,R=301] +# END PHPBB PAGES +##################################################### + diff --git a/phpBB/phpbb_seo/cache/.htaccess.current b/phpBB/phpbb_seo/cache/.htaccess.current new file mode 100644 index 0000000000..69e3a64277 --- /dev/null +++ b/phpBB/phpbb_seo/cache/.htaccess.current @@ -0,0 +1,80 @@ +# Lines That should already be in your .htacess +<Files "config.php"> + Order Allow,Deny + Deny from All +</Files> +<Files "common.php"> + Order Allow,Deny + Deny from All +</Files> + +# You may need to un-comment the following lines +# Options +FollowSymlinks +# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist +# Options -MultiViews +# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE +RewriteEngine On +# Uncomment the statement below if you want to make use of +# HTTP authentication and it does not already work. +# This could be required if you are for example using PHP via Apache CGI. +# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] +# REWRITE BASE +RewriteBase / +# HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN +# RewriteCond %{HTTP_HOST} !^forums\.mageia\.org$ [NC] +# RewriteRule ^(.*)$ http://forums.mageia.org/$1 [QSA,L,R=301] + +# DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS +RewriteCond %{REQUEST_FILENAME} -f +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule . - [L] +##################################################### +# PHPBB SEO REWRITE RULES ALL MODES +##################################################### +# AUTHOR : dcz www.phpbb-seo.com +# STARTED : 01/2006 +################################# +# FORUMS PAGES +############### +# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX +# RewriteRule ^en/forum\.html$ /en/index.php [QSA,L,NC] +# FORUM ALL MODES +RewriteRule ^en/(forum|[a-z0-9_-]*-f)([0-9]+)/?(page([0-9]+)\.html)?$ /en/viewforum.php?f=$2&start=$4 [QSA,L,NC] +# TOPIC WITH VIRTUAL FOLDER ALL MODES +RewriteRule ^en/(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /en/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC] +# TOPIC WITHOUT FORUM ID & DELIM ALL MODES +RewriteRule ^en/([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /en/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC] +# PHPBB FILES ALL MODES +RewriteRule ^en/resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /en/download/file.php?id=$2&t=$1 [QSA,L,NC] +# PROFILES THROUGH USERNAME +RewriteRule ^en/member/([^/]+)/?$ /en/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC] +# USER MESSAGES THROUGH USERNAME +RewriteRule ^en/member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /en/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC] +# GROUPS ALL MODES +RewriteRule ^en/(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /en/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC] +# POST +RewriteRule ^en/post([0-9]+)\.html$ /en/viewtopic.php?p=$1 [QSA,L,NC] +# ACTIVE TOPICS +RewriteRule ^en/active-topics(-([0-9]+))?\.html$ /en/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC] +# UNANSWERED TOPICS +RewriteRule ^en/unanswered(-([0-9]+))?\.html$ /en/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC] +# NEW POSTS +RewriteRule ^en/newposts(-([0-9]+))?\.html$ /en/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC] +# UNREAD POSTS +RewriteRule ^en/unreadposts(-([0-9]+))?\.html$ /en/search.php?search_id=unreadposts&start=$2 [QSA,L,NC] +# THE TEAM +RewriteRule ^en/the-team\.html$ /en/memberlist.php?mode=leaders [QSA,L,NC] +# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES + +# FORUM WITHOUT ID & DELIM ALL MODES +# THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^en/([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ /en/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC] +# FIX RELATIVE PATHS : FILES +RewriteRule ^en/.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /en/$1 [QSA,L,NC,R=301] +# FIX RELATIVE PATHS : IMAGES +RewriteRule ^en/.+/(styles/.*|images/.*)/$ /en/$1 [QSA,L,NC,R=301] +# END PHPBB PAGES +##################################################### + diff --git a/phpBB/phpbb_seo/cache/phpbb_cache.php b/phpBB/phpbb_seo/cache/phpbb_cache.php new file mode 100644 index 0000000000..ff7fa5de0c --- /dev/null +++ b/phpBB/phpbb_seo/cache/phpbb_cache.php @@ -0,0 +1,12 @@ +<?php +/** +* phpBB_SEO Class +* www.phpBB-SEO.com +* @package Advanced phpBB3 SEO mod Rewrite +*/ +if (!defined('IN_PHPBB')) { + exit; +} +$this->cache_config['settings'] = array ( 'url_rewrite' => true, 'modrtype' => 2, 'sql_rewrite' => true, 'profile_inj' => true, 'profile_vfolder' => false, 'profile_noids' => true, 'rewrite_usermsg' => false, 'rewrite_files' => true, 'rem_sid' => true, 'rem_hilit' => true, 'rem_small_words' => true, 'virtual_folder' => true, 'virtual_root' => false, 'cache_layer' => true, 'rem_ids' => false, 'copyrights' => array ( 'img' => false, 'txt' => '', 'title' => '', ), 'no_dupe' => array ( 'on' => true, ), 'zero_dupe' => array ( 'on' => true, 'strict' => true, 'post_redir' => 'guest', ), ); +$this->cache_config['forum'] = array ( 2 => 'welcome-board-f2', 6 => 'getting-support-f6', 7 => 'basic-support-f7', 8 => 'advanced-support-f8', 1 => 'the-community-f1', 3 => 'announcements-f3', 4 => 'general-f4', 5 => 'wizards-lair-f5', 9 => 'contributing-f9', 12 => 'basic-contrib-f12', 10 => 'packaging-f10', 11 => 'other-f11', 14 => 'moderation-f14', ); +?>
\ No newline at end of file diff --git a/phpBB/phpbb_seo/cache/phpbb_cache.php.current b/phpBB/phpbb_seo/cache/phpbb_cache.php.current new file mode 100644 index 0000000000..ff7fa5de0c --- /dev/null +++ b/phpBB/phpbb_seo/cache/phpbb_cache.php.current @@ -0,0 +1,12 @@ +<?php +/** +* phpBB_SEO Class +* www.phpBB-SEO.com +* @package Advanced phpBB3 SEO mod Rewrite +*/ +if (!defined('IN_PHPBB')) { + exit; +} +$this->cache_config['settings'] = array ( 'url_rewrite' => true, 'modrtype' => 2, 'sql_rewrite' => true, 'profile_inj' => true, 'profile_vfolder' => false, 'profile_noids' => true, 'rewrite_usermsg' => false, 'rewrite_files' => true, 'rem_sid' => true, 'rem_hilit' => true, 'rem_small_words' => true, 'virtual_folder' => true, 'virtual_root' => false, 'cache_layer' => true, 'rem_ids' => false, 'copyrights' => array ( 'img' => false, 'txt' => '', 'title' => '', ), 'no_dupe' => array ( 'on' => true, ), 'zero_dupe' => array ( 'on' => true, 'strict' => true, 'post_redir' => 'guest', ), ); +$this->cache_config['forum'] = array ( 2 => 'welcome-board-f2', 6 => 'getting-support-f6', 7 => 'basic-support-f7', 8 => 'advanced-support-f8', 1 => 'the-community-f1', 3 => 'announcements-f3', 4 => 'general-f4', 5 => 'wizards-lair-f5', 9 => 'contributing-f9', 12 => 'basic-contrib-f12', 10 => 'packaging-f10', 11 => 'other-f11', 14 => 'moderation-f14', ); +?>
\ No newline at end of file diff --git a/phpBB/phpbb_seo/cache/phpbb_cache.php.old b/phpBB/phpbb_seo/cache/phpbb_cache.php.old new file mode 100644 index 0000000000..b9acb750c3 --- /dev/null +++ b/phpBB/phpbb_seo/cache/phpbb_cache.php.old @@ -0,0 +1,12 @@ +<?php +/** +* phpBB_SEO Class +* www.phpBB-SEO.com +* @package Advanced phpBB3 SEO mod Rewrite +*/ +if (!defined('IN_PHPBB')) { + exit; +} +$this->cache_config['settings'] = array ( 'url_rewrite' => true, 'modrtype' => 2, 'sql_rewrite' => true, 'profile_inj' => true, 'profile_vfolder' => false, 'profile_noids' => true, 'rewrite_usermsg' => false, 'rewrite_files' => true, 'rem_sid' => true, 'rem_hilit' => true, 'rem_small_words' => true, 'virtual_folder' => true, 'virtual_root' => false, 'cache_layer' => true, 'rem_ids' => false, 'copyrights' => array ( 'img' => false, 'txt' => '', 'title' => '', ), 'no_dupe' => array ( 'on' => true, ), 'zero_dupe' => array ( 'on' => true, 'strict' => true, 'post_redir' => 'guest', ), ); +$this->cache_config['forum'] = array ( 2 => 'welcome-board-f2', 6 => 'getting-support-f6', 7 => 'basic-support-f7', 8 => 'advanced-support-f8', 1 => 'the-community-f1', 3 => 'announcements-f3', 4 => 'general-f4', 5 => 'wizards-lair-f5', 9 => 'contributing-f9', 12 => 'basic-contribution-f12', 10 => 'packaging-translating-f10', 11 => 'other-f11', 14 => 'moderation-f14', ); +?>
\ No newline at end of file |