phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
get it but waiting for a fix -cant access

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Simple mod rewrite
::  
Author Message
auday1982



Joined: 04 Feb 2007
Posts: 6

get it but waiting for a fix -cant accessPosted: Sat Feb 10, 2007 8:31 pm    Post subject: get it but waiting for a fix -cant access

hi guys
i uploaded all files and edited all files ...good nothing to replace ..just put them before and after

i have a question
wht should i change for folder install
i put htaccess file in /v2/ where the phpbb fresh install

xs mod and sid installed first
easymod too

now wht should i do with my /v2/.htaccess
and seo class.php ...should i make some change
couldnt understand this
Code:
// 'phpbb/' in case it's installed in the phpbb/ folder.
define ('PHPBB_SCRIPT', $script_name);
define ('PHPBB_URL', ROOT_URL . PHPBB_SCRIPT);

so should i leave it
or not
well and wht about this one
Code:
RewriteEngine On
RewriteBase /

#########################################################
# PHPBB SEO REWRITE RULES            #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
# RewriteRule ^phpbb/.*/([^/]+\.html)$ /phpbb/index.php [R=301,L]
# CATEGORIES
RewriteRule ^phpbb/cat([0-9]+)\.html$ /phpbb/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^phpbb/forum([0-9]+)-([0-9]+)\.html$ /phpbb/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^phpbb/forum([0-9]+)\.html$ /phpbb/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^phpbb/topic([0-9]+)-([0-9]+)\.html$ /phpbb/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^phpbb/topic([0-9]+)\.html$ /phpbb/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^phpbb/post([0-9]+)\.html$ /phpbb/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^phpbb/member([0-9]+)\.html$ /phpbb/profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################


should i change all phpbb to v2

and since the forums is not online yet ( installing some mods before making it the forums that we will use)
can i make soemthing like everything going to /forums/ redirect to /v2/

now using phpbb2 plus on forums/ phpbb2 in v2/ ...
wht mods should i not install so get no problems with smr (simple mod rewrite)

thanks alot ...seems to me it s the best thing for phpbb short urls and search engine
thanks
Back to top
auday1982



Joined: 04 Feb 2007
Posts: 6

get it but waiting for a fix -cant accessPosted: Sat Feb 10, 2007 8:33 pm    Post subject: Re: get it but waiting for a fix -cant access

by the way
all links now give me 404 errors
website is on godaddy and running joomla and phpbb2 plus
root folder got 1 ht file and forums/ (phpbb2plus) get one as well ..
v2 (version 2) folder s where i have fresh phpbb ..and the few mods that i will need

thanks
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

get it but waiting for a fix -cant accessPosted: Sun Feb 11, 2007 12:29 pm    Post subject: Re: get it but waiting for a fix -cant access

I am not sure you really want to redirect forum/ to v2/

At least according to what I understand. It is better to just rename v2/ to forum/ if the v2/ install is the one supposed to end up in the forum/ folder.

Then, you should install the rewriterules in you root's .htaccess (one level above v2/) and obviously replace all 'phpbb' with 'v2' in them.

And it should work right away Wink

++

_________________
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
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Simple mod rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: