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  
 
   
Not working on test site, please help!

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Advanced mod Rewrite
::  
Author Message
forhair



Joined: 24 Jan 2008
Posts: 1

Not working on test site, please help!Posted: Thu Jan 24, 2008 7:55 pm    Post subject: Not working on test site, please help!

Dear forum members, i have a situation were i need to put a test site online ASAP with my site's phpbb forum (with the SEO mod).
I had already moved the files and db's, and connect them.
while i can see the forum front page and also members, PM, Profile pages...the rest of the forum that uses the mod are getting 404 error.
My test site has an address of the server and is 2 folders from the root:
/www.xxx.hostname.com/folder1/folder2/
so i set up the base URL like that: RewriteBase /folder1/folder2

My forum and .htaccess file are in the 2nd folder.

what is wrong?

thank you very much
Back to top
mdster



Joined: 23 Jan 2008
Posts: 5

Not working on test site, please help!Posted: Fri Jan 25, 2008 8:25 am    Post subject: Re: Not working on test site, please help!

If your htaccess is in the second folder,
your rewrite base should be /

not /folder1/folder2

The base is a relative path.

RewriteBase /folder1/folder2
would only work if all of it was contained the root http docs directory.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13354

Not working on test site, please help!Posted: Sun Jan 27, 2008 9:38 am    Post subject: Re: Not working on test site, please help!

Not exactly, you can use rewritebase /dir in dir/ as long as you do not use dir/ in the rewriterules.

Anyway, the easier here would be to let the .htaccess generator handle the case, at least to start with.
Try checking the "more options" option in the .htaccess generator, and then, check "alternate location", it will build an .htaccess meant to be used in the phpBB install dir (of course if not root).

++

_________________
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  » Advanced mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: