phpbb3 seo
1 naročnik
1 naročnik
Inštaliral sem phpbb3 seo mod z automod in imam probleme ko kliknem na temo mi vrže na stran od wp in je v url-ju naslov od podmape kjer je forum tak da mi ni jasno
to je v .htaccess (tak kot je pisal ko sm inštaliru phpbb3 seo mod)
#
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.
#
#<IfModule mod_rewrite.c>
#RewriteEngine on
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#</IfModule>
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
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} !^URL.org$ [NC]
RewriteRule ^(.*)$ http://URL.org/$1 [QSA,L,R=301]
DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
RewriteCond %{REQUESTFILENAME} -f [OR]
RewriteCond %{REQUESTFILENAME} -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 ^phpbb/forum.html$ /phpbb/index.php [QSA,L,NC]
FORUM ALL MODES
RewriteRule ^phpbb/(forum|[a-z0-9_-]*-f)([0-9]+)(-([0-9]+))?.html$ /phpbb/viewforum.php?f=$2&start=$4 [QSA,L,NC]
TOPIC WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^phpbb/(forum|[a-z0-9-]*-f)([0-9]+)/(topic|[a-z0-9-]*-t)([0-9]+)(-([0-9]+))?.html$ /phpbb/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
TOPIC WITHOUT FORUM ID & DELIM ALL MODES
RewriteRule ^phpbb/([a-z0-9-]*)/?(topic|[a-z0-9-]*-t)([0-9]+)(-([0-9]+))?.html$ /phpbb/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
PHPBB FILES ALL MODES
RewriteRule ^phpbb/resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /phpbb/download/file.php?id=$2&t=$1 [QSA,L,NC]
PROFILES ALL MODES WITH ID
RewriteRule ^phpbb/(member|[a-z0-9_-]*-u)([0-9]+).html$ /phpbb/memberlist.php?mode=viewprofile&u=$2 [QSA,L,NC]
USER MESSAGES ALL MODES WITH ID
RewriteRule ^phpbb/(member|[a-z0-9-]*-u)([0-9]+)-(topics|posts)(-([0-9]+))?.html$ /phpbb/search.php?authorid=$2&sr=$3&start=$5 [QSA,L,NC]
GROUPS ALL MODES
RewriteRule ^phpbb/(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?.html$ /phpbb/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
POST
RewriteRule ^phpbb/post([0-9]+).html$ /phpbb/viewtopic.php?p=$1 [QSA,L,NC]
ACTIVE TOPICS
RewriteRule ^phpbb/active-topics(-([0-9]+))?.html$ /phpbb/search.php?searchid=activetopics&start=$2&sr=topics [QSA,L,NC]
UNANSWERED TOPICS
RewriteRule ^phpbb/unanswered(-([0-9]+))?.html$ /phpbb/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
NEW POSTS
RewriteRule ^phpbb/newposts(-([0-9]+))?.html$ /phpbb/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
UNREAD POSTS
RewriteRule ^phpbb/unreadposts(-([0-9]+))?.html$ /phpbb/search.php?search_id=unreadposts&start=$2 [QSA,L,NC]
THE TEAM
RewriteRule ^phpbb/the-team.html$ /phpbb/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 FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUESTFILENAME} !-f
RewriteRule ^phpbb/([a-z0-9-]+)(-([0-9]+)).html$ /phpbb/viewforum.php?forumuri=$1&start=$3 [QSA,L,NC]
RewriteCond %{REQUESTFILENAME} !-f
RewriteRule ^phpbb/([a-z0-9-]+).html$ /phpbb/viewforum.php?forumuri=$1 [QSA,L,NC]
FIX RELATIVE PATHS : FILES
RewriteRule ^phpbb/.+/(style.php|ucp.php|mcp.php|faq.php|download/file.php)$ /phpbb/$1 [QSA,L,NC,R=301]
FIX RELATIVE PATHS : IMAGES
RewriteRule ^phpbb/.+/(styles/.|images/.)/$ /phpbb/$1 [QSA,L,NC,R=301]
END PHPBB PAGES
#####################################################
Sem probal tudi z tem in je isto