Page 1 of 1

Weird Album Mod Error

PostPosted: Fri Jan 11, 2008 7:32 pm
Author: richiebgood
Your phpBB Version: 2.0.22
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://www.paintballer.ie

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

This is really weird. The pics in the album mod work fine when the www. is in my domain e.g.

http://www.paintballer.ie/album_cat.php?cat_id=2

But when it is viewed with out the www, nothing shows up. What gives?
http://paintballer.ie/album_cat.php?cat_id=2

Re: Weird Album Mod Error

PostPosted: Fri Jan 11, 2008 10:57 pm
Author: CaNNon
I'm not sure how or why, but here is a temporary fix for you until you sort it out.

Code: Select all
 RewriteEngine OnRewriteCond %{HTTP_HOST} !^www..paintballer.ie [NC]RewriteRule ^(.*)$ [url=http]http://www.paintballer.ie/$1[/url] [R=301,L]  


I hope i copied and edited it wright... <img>

PostPosted: Sun Jan 13, 2008 1:24 pm
Author: richiebgood
not that doesnt work im afraid. I havent a clue about htaccess stuff.

Re: Weird Album Mod Error

PostPosted: Sun Jan 13, 2008 2:17 pm
Author: CaNNon
If you have a htaccess in your root folder, PM it to me and I check it on my site with the the rewrite rule.

All it should have done is added WWW. on access to the site you could also check you cpannel some hosts let you set the www in it.

I don't have the www in my url and the album seems to work fine.