| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
forhair
Joined: 24 Jan 2008 Posts: 1
|
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
|
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

Joined: 28 Apr 2006 Posts: 13354
|
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 |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |