after mixed mod activation board crash

phpBB3 SEO Mixed mod Rewrite support forum. This mods performs URL rewriting for phpBB3, injecting forums in their URLs and keeping a static rewriting for topics.

Moderator: Moderators

after mixed mod activation board crash

Postby praveen » Sun Aug 28, 2011 5:15 am

Hi, recently i have installed and activated URL rewriting mixed mod.
i changed the .httaccess file as well but now my board has crashed. index page is not using css. and not any link is working.
even i can not login. board url is (http://www.devftp.com)
here is my httaccess file
Code: Select all
# 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} !^www\.devftp\.com$ [NC]
# RewriteRule ^(.*)$ http://www.devftp.com/$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 ^forums/forum\.html$ /forums/index.php [QSA,L,NC]
# FORUM ALL MODES
RewriteRule ^forums/(forum|[a-z0-9_-]*-f)([0-9]+)(-([0-9]+))?\.html$ /forums/viewforum.php?f=$2&start=$4 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^forums/(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /forums/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM ALL MODES
RewriteRule ^forums/([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /forums/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
# PHPBB FILES ALL MODES
RewriteRule ^forums/resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /forums/download/file.php?id=$2&t=$1 [QSA,L,NC]
# PROFILES ALL MODES WITH ID
RewriteRule ^forums/(member|[a-z0-9_-]*-u)([0-9]+)\.html$ /forums/memberlist.php?mode=viewprofile&u=$2 [QSA,L,NC]
# USER MESSAGES ALL MODES WITH ID
RewriteRule ^forums/(member|[a-z0-9_-]*-u)([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ /forums/search.php?author_id=$2&sr=$3&start=$5 [QSA,L,NC]
# GROUPS ALL MODES
RewriteRule ^forums/(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /forums/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
# POST
RewriteRule ^forums/post([0-9]+)\.html$ /forums/viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^forums/active-topics(-([0-9]+))?\.html$ /forums/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^forums/unanswered(-([0-9]+))?\.html$ /forums/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^forums/newposts(-([0-9]+))?\.html$ /forums/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# UNREAD POSTS
RewriteRule ^forums/unreadposts(-([0-9]+))?\.html$ /forums/search.php?search_id=unreadposts&start=$2 [QSA,L,NC]
# THE TEAM
RewriteRule ^forums/the-team\.html$ /forums/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 %{REQUEST_FILENAME} !-f
RewriteRule ^forums/([a-z0-9_-]+)(-([0-9]+))\.html$ /forums/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^forums/([a-z0-9_-]+)\.html$ /forums/viewforum.php?forum_uri=$1 [QSA,L,NC]
# FIX RELATIVE PATHS : FILES
RewriteRule ^forums/.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /forums/$1 [QSA,L,NC,R=301]
# FIX RELATIVE PATHS : IMAGES
RewriteRule ^forums/.+/(styles/.*|images/.*)/$ /forums/$1 [QSA,L,NC,R=301]
# END PHPBB PAGES
#####################################################


please help.
thanks in advance.
praveen
 
Posts: 12
Joined: Thu Jun 23, 2011 3:03 pm

Advertisement

Re: after mixed mod activation board crash

Postby praveen » Tue Aug 30, 2011 3:30 am

Hi guys help plzzz. please tell me some way at-least so that i can disable those setting.
praveen
 
Posts: 12
Joined: Thu Jun 23, 2011 3:03 pm

Re: after mixed mod activation board crash

Postby praveen » Wed Aug 31, 2011 5:19 am

come on guys, please say something.
praveen
 
Posts: 12
Joined: Thu Jun 23, 2011 3:03 pm

Re: after mixed mod activation board crash

Postby dcz » Wed Aug 31, 2011 7:23 am

Looks like a phpBB Server and Cookie settings issue, your forum seems to be installed in domains root, not in forum/.

Fix this and generate a new .htaccess should be enough.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21291
Joined: Fri Apr 28, 2006 9:03 pm

Re: after mixed mod activation board crash

Postby praveen » Wed Aug 31, 2011 12:00 pm

yes my forum is installed in root directory.
Now what should i do? because i am not able to login into my board.
should i remove "forums" from my .httaccess file (above)? i have also seen a database entry in table "phpbb_config"
script_path == /forums
that also need to change to "/"?

Please suggest.
praveen
 
Posts: 12
Joined: Thu Jun 23, 2011 3:03 pm

Re: after mixed mod activation board crash

Postby austin881 » Wed Aug 31, 2011 1:32 pm

Go to ACP > GENERAL tab > Server settings and change 'Script path:' from /forums to /

Go to ACP > PHPBB SEO tab > .htaccess > Copy what is displayed to your .htaccess file
My dev playground: Whoa.co
Appreciate my assistance? You can thank me by linking to my Chevrolet Astro forums.
User avatar
austin881
phpBB SEO Team
phpBB SEO Team
 
Posts: 249
Joined: Wed Oct 28, 2009 12:16 am
Location: Boise, Idaho USA

Re: after mixed mod activation board crash

Postby praveen » Wed Aug 31, 2011 2:25 pm

How to go to ACP? I am not able to login into my board due to incorrect URL

yes my forum is installed in root directory.
Now what should i do? because i am not able to login into my board.


scriptpath can be changed directly from Database ("phpbb_config" table).
praveen
 
Posts: 12
Joined: Thu Jun 23, 2011 3:03 pm

Re: after mixed mod activation board crash

Postby praveen » Wed Aug 31, 2011 4:12 pm

its working now.
thank you all. i did the same change scriptpath to "/" directly in db and remove "forums" from .htaccess file.
first it was not working but after deleting every from cache folder (except .htaccess ). Everything was fine.
thanks once again.
praveen
 
Posts: 12
Joined: Thu Jun 23, 2011 3:03 pm


Return to Mixed SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 68 guests