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  
 
   
Is it Possible to run rewrite rules in Forum root?

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Apache mod Rewrite
::  
Author Message
Peter77
phpBB SEO Team
phpBB SEO Team


Joined: 10 May 2006
Posts: 515
Location: Michigan

Is it Possible to run rewrite rules in Forum root?Posted: Sat Dec 23, 2006 2:23 am    Post subject: Is it Possible to run rewrite rules in Forum root?

I know that it may not be possible to install any of the SEO mods with the .htcaccess in the forum root folder... or is it? The 'Webmistress' of a Forum I'm working on, has given me phpbb root access only via FTP. I Suppose I could ask her to paste and copy what I need in the domains root .htcaccess but then... what if I need to make changes ect and we know sometimes things do not always work right the first time.

Any thoughts on this?

:edit: I just realized I posted this in the wrong forum! My apologise! Exclamation
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14854

Is it Possible to run rewrite rules in Forum root?Posted: Sat Dec 23, 2006 10:18 am    Post subject: Re: Is it Possible to run rewrite rules in Forum root?

Well it is of course possible, but you most likely have trouble using the www prefix redirection, not big ones, but you'll certainly will have to repeat it in each .htaccess.

Running a single .htaccess from root is not really a perf issue the way I designed the phpBB SEO rewriterules (testing path in the RegEx is light fast) unless you really are mod rewriting a bunch of urls, over hundred cases I'd say.

So to do it, you just need to use the rewriterule without the path in them, and to set :

Code:
RewriteBase /phpBBfolder/


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
Peter77
phpBB SEO Team
phpBB SEO Team


Joined: 10 May 2006
Posts: 515
Location: Michigan

Is it Possible to run rewrite rules in Forum root?Posted: Sat Dec 23, 2006 12:48 pm    Post subject: Re: Is it Possible to run rewrite rules in Forum root?

Ohh so it is possible. great! Smile Yeah I know that the www redirect will probably be missing in other non phpbb pages. Maybe later I will give her the directions to paste and copy the www redirect on her root .htaccess file. The content in the root domain is mostly the work of wordpress and nothing phpbb... so.




Thanks agian. Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Apache mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: