Little error on my side with a portal - help pls?

Discussions about the phpBB3 Forum. How to get the best from this powerful script.
Note that there is no official support for phpBB3 here, a place to share more than to ask for.

Moderator: Moderators

Little error on my side with a portal - help pls?

Postby sypher » Sat Mar 01, 2008 10:21 pm

just a little error then in all set.
The portal references the CSS by calling


it works good with vanilla phpbb3 (its a subdir), but as soon as i get the seo the css is lost since it goes into virtual dir and the css is not matching.

I can guess its a simple match to do with .htaccess file but ... im sorry to say, im incapable of that.

If any good soul around could to that for me, he'd have my infinite gratitude.

Thanks in advance!
Posts: 13
Joined: Mon Jul 23, 2007 1:46 pm


Postby SeO » Mon Mar 03, 2008 9:12 am

A link would help to understand better here.

Is phpBB css loaded properly ?

Did you implement the template code changes properly and cleared cache after you did ?

Could be because the portal css is not located in the phpBB directory.
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby sypher » Mon Mar 03, 2008 10:33 am

I did not explain myself properly,

the portal is installed in /portal/
the phpbb is installed in /forum/

the problem is that the portal uses relative links.
In the original installation of the forum, it will *always* be (except the admin) in the root directory of /forum/, the portal considers this and creates relative links (fixed) as ../portal/whatever_directory/.

So my problem is that when a "fake" or "virtual" subdirectory is created with the rewrite, the portal STILL creates relative links as ../portal/ but it does not find, since the browser will go search just one directory up, and will so go in /forum/portal. I thought about creating a symlink, but that would only be a temporary solution so a rewrite rule (i guess) could help me much better by redirecting all ../portal/ calls to the correct dir.

Hope i explained myself better this time ;)
Posts: 13
Joined: Mon Jul 23, 2007 1:46 pm

Postby dcz » Tue Mar 11, 2008 10:01 am

All right, so it looks like the easiest solution is to use an absolute link for the css style-sheet link.

Could you provide a link to where you downloaded the portal your are using, so that I can tell you where to alter the css link ?

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

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

Postby sypher » Tue Mar 11, 2008 11:05 am

you're too kind ;)

the portal im using is , but worry not, the problem was with the virtual folders more than the rest, and i sent you the fix on pm's.

As soon as i've tested everything as i told ya, i'll post my fixes.

Only stuff i cant really handle is making the portal boxes use seo'ed links instead of the "normal" ones. :)
Posts: 13
Joined: Mon Jul 23, 2007 1:46 pm

Return to phpBB Forum


  • Related topics
    Last post

Who is online

Users browsing this forum: Baidu [Spider] and 10 guests